Rustup v1.21.0 Release Notes
Release Date: 2019-12-19 // over 4 years ago-
๐ In release 1.20.x profiles could incorrectly ascribe host-independent components to the host architecture, resulting in surprising behaviour with
rust-src
. We have corrected this and added mitigations which should ๐ mean that as of this release, such incorrect ascriptions are supported and also โก๏ธ automatically corrected on toolchain update.Due to the large number of confusions around the
complete
profile, we have โ introduced a warning if you use it. It's really only meant for developers of Rust, or those exploring particular issues innightly
.There are also a large number of other changes, the highlights of which are below. ๐ Thanks to everyone who helped work on this release. Even if your changes are not listed below, they are still greatly appreciated.
๐ Changed
- โก๏ธ Download directory is cleaned up after successful full update.
- Bad
.partial
downloads will be cleaned up for you - Force installation of toolchain if install is automatic
- Switch to darker colours to improve terminal readability
- 0๏ธโฃ Attempt to be less surprising wrt. default-host during installation
rustup toolchain list --verbose
now correctly shows the paths- โก๏ธ Fallback environment for non-cargo toolchains updated to match
rustc
- Made human-readable units slightly more comprehensible
- Improved detection of armhf userland on aarch64 kernels
- Improved error message when rustc is detected on installation
โ Added
- ๐ Added
--profile
support torustup toolchain install
- ๐ Added
+toolchain
support torustup
itself to match proxy functionality - Added ability to
rustup component add component-architecture
- ๐ Added clear report when
rustup doc
is run withoutrust-docs
available - ๐ Added
keyword:
,primitive:
, andmacro:
prefix support torustup doc FOO
- Added retry logic so that
rustup
will try and repeat interrupted downloads - โฌ๏ธ Added
--allow-downgrade
support torustup toolchain install
- โฌ๏ธ Added display of previous version when upgrading channels
- ๐ Added support for local non-channel toolchains in rust-toolchain file
Thanks
- Roman Froลow
- Jean Simard
- Lzu Tao
- Benjamin Chen
- Daniel Silverstone
- Jon Hoo
- Carlo Abelli
- Filip Demski
- Chris Tomlinson
- Kane Green
- Ralf Jung
- Yves Dorfsman
- Rudolf B
- Pietro Albini
- Takayuki Nakata
- Justus K
- Gilbert Rรถhrbein
- Friedel Ziegelmayer
- Robbie Clarken
- Tetsuharu OHZEKI
๐ [1.21.0]: https://github.com/rust-lang/rustup/releases/tag/1.21.0