Open
Description
Problem you are trying to solve
For anyone who has multiple targets installed, completing a rustup update
can take quite a while. It seems the order of operations is:
- Download
rust-std
for all installed targets - Download
cargo
,rust-src
, and other components - Download
rust-std
for the native/default target (?) - Download
rustc
- Remove old components
- Install downloaded components
However, often times only the default target is of immediate interest.
Solution you'd like
Instead, do something like the following order:
- Move the old toolchain directory to a different name
- Download and install
rustc
- Download and install
rust-std
for the default toolchain/target - Download and install components
- Download and install all remaining targets
- Remove the backup directory
This should make it feasible to start working with the most commonly used target within a couple of minutes while everything else updates in the background.
Notes
No response