diff --git a/src/compiler/clang.rs b/src/compiler/clang.rs index e6294d524..399e72424 100644 --- a/src/compiler/clang.rs +++ b/src/compiler/clang.rs @@ -212,6 +212,7 @@ counted_array!(pub static ARGS: [ArgInfo; _] = [ take_arg!("-fmodule-output", OsString, Concatenated, ClangModuleOutput), flag!("-fmodules-reduced-bmi", PassThroughFlag), flag!("-fno-color-diagnostics", NoDiagnosticsColorFlag), + flag!("-fno-cxx-modules", PassThroughFlag), flag!("-fno-pch-timestamp", PassThroughFlag), flag!("-fno-profile-instr-generate", TooHardFlag), flag!("-fno-profile-instr-use", TooHardFlag),