-
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
remove -Zmiri-panic-on-unsupported flag #3950
remove -Zmiri-panic-on-unsupported flag #3950
Conversation
4adf9a3
to
115f00e
Compare
Nextest does not and cannot support doctests, so this would mean we don't have a way to continue running if one doctest fails. |
Cargo/rustdoc already supports continuing if one doctest fails, I think? It also runs all doctests concurrently. That's why in miri-test-libstd, doctests are so much faster than unit/integration tests. ;) |
Ah of course it does, this is probably the same reason to get a single-threaded doctest run you need |
So if all use of this flag can be replaced by nextest, why should we keep it at all? I don't think I've seen this actually happen, but injecting new unwinding sites into a bunch of unsafe code may cause UB that's only there because of unwinding that can only happen with Miri. |
Yeah I agree, IMO we should remove the flag. That requires a bit of discussion, so I opened an issue: #3952. However if possible I'd like to land this PR in the mean time to remove the foot-gun. I doubt unsupported errors due to |
All right, I now made this just entirely remove the flag. @rust-lang/miri any objections? |
9a02955
to
2b3deec
Compare
No objections. |
@bors r=RalfJung,saethlin,oli-obk |
☀️ Test successful - checks-actions |
Fixes #3952, see that issue for discussion.