Skip to content
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

[6.1.0] Add --host_features #17528

Merged
merged 3 commits into from
Feb 19, 2023
Merged

Commits on Feb 17, 2023

  1. 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)
    keith committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    7a29480 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1381185 View commit details
    Browse the repository at this point in the history
  3. Fix tests

    keith committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    e6df55e View commit details
    Browse the repository at this point in the history