-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enforceLabelAttributes: Evaluate labels in Dict's key set as well
Since we support label_keyed_string_dict as an attribute type of a Starlark rule, we also need to evaluate the labels in advance. This helps avoiding restarting the SkylarkRepositoryFunction, which is potentially expensive (maybe including extracting a compressed file, as we've seen in the bug). Fixes #10515 RELNOTES: None PiperOrigin-RevId: 288674429
- Loading branch information
1 parent
e4cca14
commit 9386c1f
Showing
2 changed files
with
85 additions
and
7 deletions.
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