Skip to content

x.py does not download boostrap compiler if --build differs from default build #39675

Closed
@nagisa

Description

@nagisa

With build in config.toml being commented out, running (on x86_64) following command fails:

$ python x.py test --host=i686-unknown-linux-gnu --stage=2 --target=i686-unknown-linux-gnu --build=i686-unknown-linux-gnu
    Finished debug [unoptimized] target(s) in 0.0 secs


failed to execute command: "./build/i686-unknown-linux-gnu/stage0/bin/rustc" "--version" "--verbose"
error: No such file or directory (os error 2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    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