Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[6.1.0] Add --host_features (bazelbuild#17528)
* Add --host_features Previously there was no way to have a feature only apply to the entire transitive target closure without `--features` which also applied to the host / exec configuration. This is undesirable for many features such as C++ sanitizers where you often only need them to affect targets in the target configuration, and you don't want to invalidate all host tools when switching between these build configurations. RELNOTES[INC]: `--features` only applies to targets built in the target configuration, and `--host_features` is used for the host / exec configuration (gated behind `--incompatible_use_host_features`) Fixes bazelbuild#13839 Closes bazelbuild#16626. PiperOrigin-RevId: 509809427 Change-Id: I3fadb1e28267c096a25d8841648175306ee73f2e (cherry picked from commit 0ef9c7c) * Fix tests --------- Co-authored-by: kshyanashree <109167932+kshyanashree@users.noreply.github.com>
- Loading branch information