Skip to content

Consider using the host beta toolchain if it already exists at the right version #76419

Open
@jyn514

Description

@jyn514

Currently, if you have beta installed via rustup, x.py will download it again when building for the first time. It would be great to avoid this needless download. It would also have the benefit that x.py clean wouldn't require redownloading things from the internet.

Possible implementation: try both rustc --version and rustc +beta --version; use the first that is the right version and download beta otherwise. The version should be an exact match (beta 1.xx.0, not just beta or 1.xx.0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-contributor-roadblockArea: Makes things more difficult for new or seasoned contributors to RustC-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