-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Open up more test for Miri #6812
Comments
Absolutely. Currently we only run tests inside |
Thanks! :) I'd like to work on this so I'd know sooner if anything ICE'd miri, or what syscall should be supported next. But I have never contributed to tokio yet, so I might request for more guidance along the way. |
You're definitely welcome to reach out to me on zulip or discord for that. |
I found an ICE rust-lang/miri#3858 on miri side, so the test that ICE'd might be skipped until the fix landed on nightly, or this change should only be approved after all fixes are landed on nightly. |
It's of course nice to enable as many tests as possible, but I suspect going from zero to all tests would be difficult, so I am okay with PRs that enable miri only on some of the tests. |
What is the best way to enable Miri on only some of the tests? My first guess would be to enable only some of the feature gates (rather than |
Right now I am running |
Our tests usually don't specify the exact set of features they work on, and just require the Instead, you can either use |
In the latest rustc nightly
rustc 1.82.0-nightly (a7399ba69 2024-08-31)
, tokio API that requiresepoll_wait
can now run successfully in Miri. For reference, the tests that passed and were added to the Miri test suite can be found here: rust-lang/miri#3848. Is there any interest in opening up more tests to be run with Miri in tokio's CI?TODO:
The text was updated successfully, but these errors were encountered: