-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
update Miri #97546
update Miri #97546
Conversation
Some changes occured to the Miri submodule cc @rust-lang/miri |
|
@bors r+ p=1 |
📌 Commit a272c45 has been approved by |
⌛ Testing commit a272c45 with merge 42639118b9f34eed46e9befed92b8138fb7aee53... |
💔 Test failed - checks-actions |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Interesting. It looks like a couple of compile-fail tests are not failing miri anymore? |
Maybe they are incorrectly being optimized?
|
just wondered that, too, and found |
Hmm, we only ever ran it with mir opt level 4 apparently, not with zero like our test suite does? Line 576 in 855fc02
|
@bors r+ |
📌 Commit 3c66939 has been approved by |
We run it the regular way here: Line 571 in 855fc02
|
src/bootstrap/test.rs
Outdated
@@ -572,8 +572,6 @@ impl Step for Miri { | |||
return; | |||
} | |||
|
|||
// # Run `cargo test` with `-Zmir-opt-level=4`. | |||
cargo.env("MIRIFLAGS", "-O -Zmir-opt-level=4"); | |||
if !try_run(builder, &mut cargo) { | |||
return; | |||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we are just running it twice. :)
For now, let's just only run the unoptimized tests here, and leave the optimized tests for Miri CI. @bors r=oli-obk |
📌 Commit 962d54e has been approved by |
☀️ Test successful - checks-actions |
Tested on commit rust-lang/rust@946a88a. Direct link to PR: <rust-lang/rust#97546> 🎉 miri on windows: build-fail → test-pass (cc @eddyb @oli-obk @RalfJung). 🎉 miri on linux: build-fail → test-pass (cc @eddyb @oli-obk @RalfJung).
Finished benchmarking commit (946a88a): comparison url. Instruction count
Max RSS (memory usage)Results
CyclesResults
If you disagree with this performance assessment, please file an issue in rust-lang/rustc-perf. @rustbot label: -perf-regression Footnotes |
First update with the new ui test suite, let's hope this all works. :)
r? @oli-obk
Fixes #97486