Open
Description
This may be a bit niche but...
I was hit by the most recent nightly not including the RLS and had to downgrade, but I wanted to retain the name nightly
(rather than nightly-2017-11-30
). This turned out to need two different folders to be renamed:
$RUSTUP_HOME/toolchains/<toolchain>
- so it'll show up as e.g. nightly-x86_64-pc-windows-msvc
in rustup toolchain list
.
$RUSTUP_HOME/update-hashes/<toolchain>
- I initially installed nightly-2017-12-02
, but that's the one that doesn't have the RLS! Trying to rustup toolchain uninstall
it got me an error because I hadn't renamed this folder.
A single rustup
command such as rustup toolchain rename
could do this without needing me to know anything about the structure of $RUSTUP_HOME
.