rustup 1.4.0 is out. To upgrade run rustup self update .

rustup is the primary official method of installing Rust.

This is a pretty sweet release with some new features and nice fixes.

The big addition here is support for xz compression. Rust has

historically been distributed as gzipped tarballs, and so haven’t been

compressed as much as might be desired, especially by those on slower

connections. Starting with Rust 1.19, which is available on the beta

channel today, Rust is also distributed with xz compression, which

this version of rustup will use by default. Here’s a representative

sample of the difference in download sizes:

| file | size | |------------------------------------------------|---------| | rustc-beta-x86_64-unknown-linux-gnu.tar.gz | 47.8 MB | | rustc-beta-x86_64-unknown-linux-gnu.tar.xz | 37.6 MB | | rust-std-beta-x86_64-unknown-linux-gnu.tar.gz | 78.6 MB | | rust-std-beta-x86_64-unknown-linux-gnu.tar.xz | 55.8 MB | | rust-docs-beta-x86_64-unknown-linux-gnu.tar.gz | 12.5 MB | | rust-docs-beta-x86_64-unknown-linux-gnu.tar.xz | 3.5 MB | | rust-src-beta.tar.gz | 3.1 MB | | rust-src-beta.tar.xz | 2.1 MB |

rustup will use the xz binaries silently, but you can verify that you

are actually getting the smaller downloads by running with -v :

rustup -v update beta

Implementing this required patches to several projects involved in

Rust distribution. Thanks @ranma42 for making it happen!

This version correctly detects Visual Studio 2017 installations during

installation, as does the upcoming Rust 1.19 release. Since Rust will

not correctly support VS 2017 until the next release, as a slightly

awkward consequence in the meantime rustup will happily install the

stable toolchain alongside VS 2017, but the toolchain will not

actually work without explicitly configuring the environment.

This release includes builds for x86_64-linux-android, finally

bringing the full Rust experience to x86_64 Android. Thanks @malbarbo

for his long toiling to realize this platform support.

And there’s also a bunch of bug fixes. Thanks everybody for all the

help!

1.4.0

Contributors: Andrea Canciani, bors, Brian Anderson, CrazyMerlyn, Diggory Blake,

Fabio B, James Elford, Jim McGrath, johnthagen, Josh Lee, Kim Christensen, Marco

A L Barbosa, Mateusz Mikula, Matthew, Matt Ickstadt, Mikhail Modin, Patrick

Deuster, pxdeu, Ralf Jung, Raphaël Huchet, Robert Vally, theindigamer, Tommy Ip,

Xidorn Quan