-
Notifications
You must be signed in to change notification settings - Fork 925
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: rustup toolchain rename
#1299
Comments
Just stumbled upon this, and here's an easy fix - you can specify rust-client.rlsPath option in VSCode
|
I could also just have set my override to |
There are a number of different solutions to the same sort of problem you describe in the original posting on this issue. We're not yet sure which we're going to take, so thank you for your suggestion, but I'm not able to say if it's something we're likely to merge yet. |
With Rustup 1.20 this situation should hopefully be less likely to occur. Is that sufficient to solve your problem or do you still want this feature as well? |
Is it okay if I close this? |
FYI, this is still very much needed 😄 e.g., see: #3390 |
I think with some safeguards this could be done. Specifically: renaming a toolchain should check the toolchain is compatible with the new name. stable -> specific version should check the version |
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 thannightly-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
inrustup toolchain list
.$RUSTUP_HOME/update-hashes/<toolchain>
- I initially installednightly-2017-12-02
, but that's the one that doesn't have the RLS! Trying torustup toolchain uninstall
it got me an error because I hadn't renamed this folder.A single
rustup
command such asrustup toolchain rename
could do this without needing me to know anything about the structure of$RUSTUP_HOME
.The text was updated successfully, but these errors were encountered: