Rustup: Don't download duplicate nightly

Created on 3 Mar 2018  路  3Comments  路  Source: rust-lang/rustup

rustup update nightly-YYYY-MM-DD shouldn't need to update anything if the currently installed nightly is already YYYY-MM-DD. This also occurs when using a rust-toolchain file.

Most helpful comment

Yes, please don't download it again, some of us have very slow internet sometimes..

3.4 MiB / 51.5 MiB ( 7 %) 16.0 KiB/s ETA: 51 min 17 s

All 3 comments

Yes, please don't download it again, some of us have very slow internet sometimes..

3.4 MiB / 51.5 MiB ( 7 %) 16.0 KiB/s ETA: 51 min 17 s

Can we install rust without rust-docs? It was useless for me, but take so much time to download & install it.

This might take some time to resolve. As far as I can tell, it would require including the date in the toolchain names and storing them with those included dates. https://github.com/rust-lang/rustup.rs/blob/master/src/rustup-dist/src/dist.rs#L254 Not sure if this is desirable behavior as this would alter something like rustup default nightly to something like rustup default nightly-2019-02-05. Hopefully one of the primary contributors will respond and correct me.

Was this page helpful?
0 / 5 - 0 ratings