-
Notifications
You must be signed in to change notification settings - Fork 349
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
bump Rust #777
bump Rust #777
Conversation
Failure only on 32bit Windows... WTF.^^ |
I had to add some more special rules to allow I didn't bother doing this in full generality because hopefully @christianpoveda will have intptrcast finished sooner rather than later, and then we can talk about pretty much requiring that to be enabled to allow executing pre-main stuff... |
@oli-obk does this look good to you? |
@@ -109,6 +109,27 @@ impl<'mir, 'tcx> EvalContextExt<'tcx> for super::MiriEvalContext<'mir, 'tcx> { | |||
err!(InvalidPointerMath) | |||
} | |||
} | |||
Gt | Ge if left.is_ptr() && right.is_bits() => { |
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 mean it doesn't really matter with int2ptr around the corner, but why is this not implemented commutatively?
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 didn't find a good way to do this without copying the code and, as you said, with int2ptr around the corner it just does not seem worth the effort.
lgtm |
Mostly to make sure rust-lang/rust#60341 doesn't break us on macOS (Rust CI does not test tools on macOS).