-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Separate --features and --host_features #13839
Copy link
Copy link
Closed
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request
Description
Currently if you flip a feature like --features=tsan that affects compilation, any host / exec tools you depend on for your build will be recompiled with the tsan features, even though you likely only care about that for your target build, not your host tools.
I think there should be some way to separate these, for example having --features only apply to your target configuration and having a separate --host_features for the host / exec configuration similar to --copt and --host_copt (I'm sure there are many other potential solutions to this though)
Have you found anything relevant by searching the web?
I really thought there was a tracking issue for this somewhere, but here are some slightly related issues:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulesIssues for C++ rulestype: feature request