-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on potential unsupported /showIncludes
lines
#19580
Error on potential unsupported /showIncludes
lines
#19580
Conversation
e1ae2d4
to
b00f9c6
Compare
/showIncludes
lines/showIncludes
lines
b00f9c6
to
c47c9a8
Compare
@bazel-io flag |
@meteorcloudy I tested this manually by uninstalling my English language pack and then doing a build without prior clean with just a French language pack. |
src/main/java/com/google/devtools/build/lib/rules/cpp/ShowIncludesFilter.java
Outdated
Show resolved
Hide resolved
@bazel-io fork 6.4.0 |
This error ensures that removing the English language pack for MSVC without also refetching `@local_config_cc` doesn't result in silently incorrect incremental builds. I considered making this a warning instead, but that would either result in warning spam (if a false positive) or drown in the unfiltered MSVC output (if a true positive). Making this an error is better for correctness and will lead users to report any false positive matches.
c47c9a8
to
50b5b03
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thank you!!
This error ensures that removing the English language pack for MSVC without also refetching `@local_config_cc` doesn't result in silently incorrect incremental builds. I considered making this a warning instead, but that would either result in warning spam (if a false positive) or drown in the unfiltered MSVC output (if a true positive). Making this an error is better for correctness and will lead users to report any false positive matches. Fixes bazelbuild#19439 (comment) Closes bazelbuild#19580. PiperOrigin-RevId: 568133958 Change-Id: If43924da6ba2f332edf4db0aed24056aa89fbb75
This error ensures that removing the English language pack for MSVC without also refetching `@local_config_cc` doesn't result in silently incorrect incremental builds. I considered making this a warning instead, but that would either result in warning spam (if a false positive) or drown in the unfiltered MSVC output (if a true positive). Making this an error is better for correctness and will lead users to report any false positive matches. Fixes #19439 (comment) Closes #19580. Commit a0497a0 PiperOrigin-RevId: 568133958 Change-Id: If43924da6ba2f332edf4db0aed24056aa89fbb75 Co-authored-by: Fabian Meumertzheim <[email protected]>
The changes in this PR have been included in Bazel 6.4.0 RC2. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc. |
This error ensures that removing the English language pack for MSVC
without also refetching
@local_config_cc
doesn't result in silentlyincorrect incremental builds.
I considered making this a warning instead, but that would either result
in warning spam (if a false positive) or drown in the unfiltered MSVC
output (if a true positive). Making this an error is better for
correctness and will lead users to report any false positive matches.
Fixes #19439 (comment)