-
Notifications
You must be signed in to change notification settings - Fork 386
Update MIR validation and test it #286
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
Conversation
…nt nightly" This reverts commit 791dbaf.
…orking around this
…icantly shrink our whitelist
…d whatever it calls
…t fullmir, if optimizations are disabled!
…lidation commands
…go test now passes :)
<std::heap::Heap as std::heap::Alloc>::|\ | ||
<std::mem::ManuallyDrop<T>><std::heap::AllocErr>::new$|\ | ||
<std::mem::ManuallyDrop<T> as std::ops::DerefMut><std::heap::AllocErr>::deref_mut$|\ | ||
std::sync::atomic::AtomicBool::get_mut$|\ |
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.
Did some of these get lost?
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.
Not lost, but there are fewer exceptions now because I switched from -Zmir-emit-validate=2
(full validation everywhere) to -Zmir-emit-validate=1
(only limited validation in functions that have unsafe blocks).
lgtm after travis and one question. |
Right, travis of course fails because current nightly does not have the new statement yet. Not sure when exactly nightlies get built; if it is midnight UTC then that would be rather soon ;) |
Yay, Travis agrees that this all passes. :-))) |
Once the next nightly has rust-lang/rust#43403, this PR should make things compile again. :)