-
Notifications
You must be signed in to change notification settings - Fork 385
cargo miri setup
no longer works for locally installed toolchains
#3160
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
wondering if its related to rust-lang/rust#117797 |
The panic originates here it seems. Unfortunately the panic message doesn't say what it got instead of a hex string.
FWIW I don't know if this ever worked. I usually use a toolchain that's linked to my |
This looks like a cargo or rustc bug to me, Miri doesn't change the output of rust-lang/cargo#12963 should make this easier to debug at least. |
When I ask that locally built rustc for its commit-hash, I get
So that would explain why cargo panics. Cc @weihanglo @ehuss (from rust-lang/cargo#12625) What I don't understand is why this does not fail in |
Maybe cargo should recognize |
make some debug assertion failures more informative In rust-lang/miri#3160, we got a report of a user running into an assertion failure in cargo. Unfortunately the failure message is not very informative. This PR hopefully makes that failure easier to debug.
Sorry, I forgot about that situation. @weihanglo, can you follow up on this? |
Just posted a PR: rust-lang/cargo#12965 Let me know if it doesn't work. |
Fixed by rust-lang/cargo#12965. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
I have a locally installed toolchain that I installed m into RUSTUP_HOME via
x.py install
.When I now run
cargo +mytoolchain miri setup
, this no longer works:The text was updated successfully, but these errors were encountered: