Skip to content

[rustbuild] --build flag should have priority over value specified in config.toml #39673

Closed
@nagisa

Description

@nagisa
python x.py test --host=x86_64-unknown-linux-gnu --stage=2 --target=x86_64-unknown-linux-gnu --build=x86_64-unknown-linux-gnu
    Finished debug [unoptimized] target(s) in 0.0 secs
...
Building stage0 std artifacts (i686-unknown-linux-gnu -> i686-unknown-linux-gnu)

where all build was uncommented and set to i686-unknown-linux-gnu in config.toml. It seems weird that it is still building i686 when all possible flags specify x86_64. Works as expected if build is commented out as far as I can tell.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: A feature request, i.e: not implemented / a PR.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