-
Notifications
You must be signed in to change notification settings - Fork 879
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
Cannot remove linked toolchain #1169
Comments
Hm, that's not expected behavior. If there's a symlink under |
I suppose you mean |
I tested this again and now it works. I think what may have happened is that the toolchain symlink became stale when I did a EDIT: Indeed I can reproduce the issue by putting a dead symlink (not pointing to anything) into the toolchain directory and trying to uninstall it. |
correctly uninstall toolchains that are stale symlinks Fixes #1169 I'd like to add a test for this -- what is the best way to do that?
I added a toolchain via
rustup toolchain link myrust <path>
that I now want to remove. However,rustup toolchain uninstall myrust
saysinfo: no toolchain installed for 'myrust'
. It seems that either it is impossible to uninstall ("unlink") a linked toolchain, or at least that feature it so well hidden that it is very hard to find.The text was updated successfully, but these errors were encountered: