Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In repo rules, don't warn about generator_* attributes being non-cano…
…nical A recent change added the implicit generator_* attributes ("generator_name", "generator_function", and possibly "generator_location") to all repo rules. This had the unfortunate side-effect of spamming all users of certain repo rules with a warning that the values for these attributes are non-canonical. Since these attributes are implicitly created and supplied by Bazel itself, and since they do not (or should not) affect repo rule determinism, there is no action needed on the part of the user. This change hardcodes them to be excluded from the canonical warning. Fixes #11040. Closes #11113. PiperOrigin-RevId: 306478566
- Loading branch information
Showing
2 changed files
with
68 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters