Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bootstrap: use the same version number for rustc and cargo #79133

Merged
merged 1 commit into from
Nov 18, 2020

Commits on Nov 17, 2020

  1. bootstrap: use the same version number for rustc and cargo

    Historically the stable tarballs were named after the version number of
    the specific tool, instead of the version number of Rust. For example,
    both of the following tarballs were part of the same release:
    
        rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz
        cargo-0.49.0-x86_64-unknown-linux-gnu.tar.xz
    
    PR rust-lang#77336 changed the dist code to instead use Rust's version number for
    all the tarballs, regardless of the tool they contain:
    
        rustc-1.48.0-x86_64-unknown-linux-gnu.tar.xz
        cargo-1.48.0-x86_64-unknown-linux-gnu.tar.xz
    
    Because of that there is no need anymore to have a separate `cargo`
    field in src/stage0.txt, as the Cargo version will always be the same as
    the rustc version. This PR removes the field, simplifying the code and
    the maintenance work required while producing releases.
    pietroalbini authored and Mark-Simulacrum committed Nov 17, 2020
    Configuration menu
    Copy the full SHA
    d17874f View commit details
    Browse the repository at this point in the history