-
Notifications
You must be signed in to change notification settings - Fork 342
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
Installing locally built miri toolchain breaks rustup miri? #2633
Comments
Yup. The process is not generally reversible.
It would be cool to do the install in a more... Isolated fashion. |
If this is a known thing that causes hard-to-reverse changes to other installed toolchains, that should really be in |
...is still an unrecognized subcommand for Cargo. Perhaps I should remove my system's entire rustup installation and start from scratch? (Edit: I should clarify, the last two commands are run in a directory with a |
If anyone else is running into this, here is a thing that seems obvious but won't fix it.
🙄 |
Try |
Thanks, I've already blown away Rustup and Cargo and am in the process of reinstalling all the toolchains and |
For whatever it's worth, "reinstall rustup" was my experience as well the first two times I dealt with this and I simply neglected to open an issue. So thank you for raising this. Maybe we should ask the rustup person/people for advice on doing something better here. |
Yes you are right. Sorry for that. :( |
Sadly this does nothing when rustup is already up-to-date. |
Ah, |
explain how to go back to rustup-managed Miri Fixes rust-lang/miri#2633
I'm quite confused here, so it's possible that this is not a Miri bug, but:
I built Miri locally to work on features a couple weeks back, and now
cargo +nightly-whatever miri
doesn't appear to work anymore. Because I needed the cargo wrapper (miri test
doesn't behave exactly the same way), I did./miri install
.Now when I try
cargo +nightly miri test
or equivalent, I get:I've tried
./miri uninstall
, which doesn't seem to exist. I've tried removing the files that I assume are responsible in~/.cargo/bin
and re-runningrustup component add miri
, but curiously the files are not recreated andcargo miri
remains an unrecognized subcommand.Halp?
The text was updated successfully, but these errors were encountered: