Skip to content

Separate --features and --host_features #13839

@keith

Description

@keith

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    P4This is either out of scope or we don't have bandwidth to review a PR. (No assignee)team-Rules-CPPIssues for C++ rulestype: feature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions