Rustup v1.24.3 Release Notes

Release Date: 2021-05-31 // 12 months ago
  • πŸš€ This patch release focusses around resolving some regressions in behaviour in πŸš€ the 1.24.x series. One problem, related to accounting for the release of data πŸ›  blocks in the unpack slab allocator, fixed in pr#2779, would manifest in the πŸ›  installer hanging during installation. A second, fixed in pr#2781, manifested in very early Rust versions (1.0 through 1.7) repeatedly having their checksums fetched despite already being installed. ⚠ Finally the heuristic which started warning that toolchains being installed may not work on the given host was improved in pr#2782 to reduce false-positive 🏁 rate and reduce worry among Windows users in particular.

    βž• Added

    • βž• Added the ability to configure the auto-self-update functionality. This will be of most use when people are testing unreleased versions of Rustup and wish to ensure they don't accidentally lose the test version, without having to remember to run with --no-self-update all the time. pr#2763

    πŸ”„ Changed

    • We no longer delete the top level of $RUSTUP_HOME/tmp and $RUSTUP_HOME/download meaning that if you have these set up as symlinks to another place, or bind mounts, etc. things should work. pr#2433
    • We more gracefully handle outlier situations with unpack-RAM, panicing less often, clamping settings into viable ranges and warning instead. pr#2780

    Thanks go to:

    • Ian Jackson
    • Alexander (asv7c2)
    • pierwill
    • δΊŒζ‰‹ζŽ‰εŒ…ε·₯η¨‹εΈˆ (hi-rustin)
    • Robert Collins
    • Daniel Silverstone

    πŸš€ [1.24.3]: https://github.com/rust-lang/rustup/releases/tag/1.24.3


Previous changes from v1.24.2

  • πŸš€ This patch release primarily exists to work around a 🏁 problem discovered on some Windows (and potentially other) systems where a combination of factors, including suspected allocator behaviour, led to Rustup failing to install certain toolchains. The symptom users observed was a failure to allocate 1677732 bytes: a chunk used for unpacking very large files. πŸ›  We hope this is fixed in a combination of pr#2750 and pr#2756.

    In addition to that, we also:

    βž• Added

    • SHA256 links on the download page so that you can verify your downloads if you want to be certain. pr#2719
    • βž• Added --verbose to rustup show active-toolchain to also display the version of the compiler for the toolchain. pr#2710
    • πŸ‘ We now support 1.x installation channel names for versions 1.0 through 1.8 by hardcoding 1.x.0 since they lack patch releases. pr#2758

    πŸ”„ Changed

    • Amended the behaviour of the 'missing components' code so that if the problem exists when installing a toolchain (rather than updating it) the message is different and leads you to other remediations. pr#2709
    • Amended the error message for a missing component so that when you're using a nightly toolchain and rust-std is missing for a given target, we lead you to cargo build -Z build-std as a remediation. pr#2732
    • πŸ‘Œ Improved the documentation around settings.toml locations. pr#2698
    • Internal improvements around retrying removal of files. pr#2752

    Thanks go to:

    • δΊŒζ‰‹ζŽ‰εŒ…ε·₯η¨‹εΈˆ (hi-rustin)
    • Robert Collins
    • Daniel Silverstone
    • Joshua Nelson
    • JoΓ£o Marcos Bezerra
    • Carol (Nichols || Goulding)
    • Josh Rotenberg
    • Martijn Gribnau
    • pierwill

    πŸš€ [1.24.2]: https://github.com/rust-lang/rustup/releases/tag/1.24.2