Remove unchecked_shr/shl from intrinsics#451
Remove unchecked_shr/shl from intrinsics#451RalfJung merged 4 commits intorust-lang:masterfrom TimDiekmann:master
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.