Skip to content

Bootstrap should be able to learn target information from Rustc target database #67171

Open
@jethrogb

Description

@jethrogb

There is lots of behavior in bootstrap that just does string matching on the target name to partially alter its behavior. A lot of the time, this information could've been determined by looking at a particular target option (from rustc --print=target-spec-json).

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.T-bootstrapRelevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions