Generic API for flag propagation #22997
Replies: 3 comments
|
Proposal feedback summary: What if we want to limit other flags like
|
|
FYI we applied a first version of this to a Google project to great success. The case where this helps:
This is especially noticeable for |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Please note @aranguyen 's Generic API for Bazel Flag Propagation proposal.
Summary:
--//foo:my_flagautomatically resets on targets outside of//foo. This could be especially useful for the "set a flag and consume it in aselect()in my project" pattern.All reactions