Skip to content

Commit 27ce98f

Browse files
committed
use experimental reduced BMI flag
1 parent 8a90969 commit 27ce98f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/utils/libcxx/test/format.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def parseScript(test, preamble):
172172
f"{compileFlags} "
173173
"-Wno-reserved-module-identifier -Wno-reserved-user-defined-literal "
174174
"-fmodule-file=std=%T/std.pcm " # The std.compat module imports std.
175-
"-fmodules-reduced-bmi "
175+
"-fexperimental-modules-reduced-bmi "
176176
"--precompile -o %T/std.compat.pcm -c %{module-dir}/std.compat.cppm",
177177
)
178178
moduleCompileFlags.extend(
@@ -189,7 +189,7 @@ def parseScript(test, preamble):
189189
"%dbg(MODULE std) %{cxx} %{flags} "
190190
f"{compileFlags} "
191191
"-Wno-reserved-module-identifier -Wno-reserved-user-defined-literal "
192-
"-fmodules-reduced-bmi "
192+
"-fexperimental-modules-reduced-bmi "
193193
"--precompile -o %T/std.pcm -c %{module-dir}/std.cppm",
194194
)
195195
moduleCompileFlags.extend(["-fmodule-file=std=%T/std.pcm", "%T/std.pcm"])

0 commit comments

Comments
 (0)