-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
enable some more tests in Miri #7734
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
base: master
Are you sure you want to change the base?
Conversation
94fc155 to
9587d78
Compare
|
poll_fns failed... does this not use the latest nightly? EDIT: Ah, I found where I have to bump it. |
| working-directory: tokio | ||
| env: | ||
| MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-strict-provenance -Zmiri-retag-fields | ||
| MIRIFLAGS: -Zmiri-disable-isolation -Zmiri-strict-provenance |
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.
You are removing the retag fields argument?
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.
As explained in the commit message, -Zmiri-retag-fields is the default (and has been the default for a long time already): rust-lang/miri#2985.
|
|
||
| #[cfg(not(miri))] | ||
| #[cfg(not(miri))] // takes a really long time with miri | ||
| mod task_combinations; |
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.
Interestingly, there's cfg!(miri) logic inside this module, even though the module is disabled on Miri anyway...
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.
I probably ran it under miri when I wrote the test.
poll_fnshas been fixed.And as for that
runtime.rstest: when the main thread is done, Miri gives the other threads a chance to finish before reporting a leak. At least in local testing, that seems to be enough for this test.We can also remove the
-Zmiri-retag-fieldsflag; it has been the default for more than 2 years already.