]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #2341 - RalfJung:rustup, r=RalfJung
authorbors <bors@rust-lang.org>
Thu, 7 Jul 2022 01:40:22 +0000 (01:40 +0000)
committerbors <bors@rust-lang.org>
Thu, 7 Jul 2022 01:40:22 +0000 (01:40 +0000)
rustup; ptr atomics

Adds support for the operations added in https://github.com/rust-lang/rust/pull/96935.
I made the pointer-binops always return the provenance of the *left* argument; `@thomcc` I hope that is what you intended. I have honestly no idea if it has anything to do with what LLVM does...

I also simplified our pointer comparison code while I was at it -- now that *all* comparison operators support wide pointers, we can unify those branches.


Trivial merge