-
Notifications
You must be signed in to change notification settings - Fork 348
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
profile-rustflags vs stable in toolchain/miri-script #3863
Comments
Thanks for the report! None of the core devs use Windows or know the batch file syntax, so the miri.bat file tends to go out-of-date. In this case however the fix is hopefully trivial -- do things work if you apply #3864 ? |
Yep, changing +stable to +nightly makes everything work fine. |
Okay, thanks for testing. :) |
RalfJung
pushed a commit
to RalfJung/rust
that referenced
this issue
Sep 8, 2024
miri.bat: use nightly toolchain Hopefully fixes rust-lang/miri#3863 (but I can't test that)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm building Miri for the first time on Windows according to the instructions here. I've installed rustup-toolchain-install-master, but by default, running './miri toolchain' in order to install the right version of Rust gives me the following error message:
The culprit here appears to be this line in miri.bat, which calls "cargo +stable".
miri/miri.bat
Line 8 in 7b422fe
Changing it to "+nightly" lets me build and run Miri successfully. The +stable was introduced in #3402, to fix an inability to build miri-script in case of an error, so just removing "+stable" might not be the best way to solve this in general. Is it possible to build miri-script on stable without requiring profile-rustflags?
The text was updated successfully, but these errors were encountered: