-
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
Remove unchecked_shr/shl from intrinsics #451
Conversation
rust-lang/rust#53697 also implemented some other intrinsics, could you remove those as well? |
Do I assume correctly when rust-lang/rust#53991 was merged and landed on the latest nightly, the tests will pass? |
Thanks!
Basically, yes -- except you will also have to update the |
Basically, yes -- except you will also have to update the `rust-toolchain`
file in this repo to specify said nightly.
I may change this when the new nightly lands.
|
rust-lang/rust#53991 was merged, however with
|
Ah, that looks like a fall-out from rust-lang/rust#52626... however, memory is not being hashed any more, so we should likely remove the trait bounds at https://github.com/rust-lang/rust/blob/dac76020a5a33fa723d578043e422455e598620b/src/librustc_mir/interpret/machine.rs#L30 and https://github.com/rust-lang/rust/blob/dac76020a5a33fa723d578043e422455e598620b/src/librustc_mir/interpret/machine.rs#L33. But that still leaves the bound on the |
Actually never mind -- miri shouldn't have any |
I pushed a commit to this PR that makes miri compile again once rust-lang/rust#54076 lands. |
r? @RalfJung
This PR adds a check in the intrinsics itself. It's not needed anymore.