Skip to content

Add -fno-cxx-modules to clang's known -Xclang flags#2717

Open
badumbatish wants to merge 1 commit into
mozilla:mainfrom
badumbatish:no_cxx_module
Open

Add -fno-cxx-modules to clang's known -Xclang flags#2717
badumbatish wants to merge 1 commit into
mozilla:mainfrom
badumbatish:no_cxx_module

Conversation

@badumbatish
Copy link
Copy Markdown

Downstream Bazel's C++ toolchain passes -Xclang -fno-cxx-modules in its compiler sanity checks. Since -fno-cxx-modules wasn't in sccache's known flag list, the xclang argument parser in gcc.rs treated it as an UnknownFlag and bailed with CannotCache.

Downstream Bazel's C++ toolchain passes `-Xclang -fno-cxx-modules` in its
compiler sanity checks. Since -fno-cxx-modules
wasn't in sccache's known flag list, the xclang argument parser in
gcc.rs treated it as an UnknownFlag and bailed with CannotCache.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant