-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
The default Bazel C++ toolchain has a cool feature that allows disabling warnings from external headers: bazelbuild/bazel#13107. It would be nice to add this to rules_cc_toolchain, too. It would make clang version upgrades less painful for downstream users like Pigweed (since third-party deps may pick up lots of new warnings on a version upgrade).
The implementation in the default toolchain is actually very simple, but it's not possible to express as a cc_feature, so it's not immediately clear to me how to add it.
Perhaps this should wait until the modular cc toolchains is finalized, since that may involve big changes to rules_cc_toolchain.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels