Skip to content

rustup; ptr atomics #2341

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

Merged
merged 1 commit into from
Jul 7, 2022
Merged

rustup; ptr atomics #2341

merged 1 commit into from
Jul 7, 2022

Conversation

RalfJung
Copy link
Member

@RalfJung RalfJung commented Jul 7, 2022

Adds support for the operations added in rust-lang/rust#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.

@RalfJung
Copy link
Member Author

RalfJung commented Jul 7, 2022

@bors r+

@bors
Copy link
Contributor

bors commented Jul 7, 2022

📌 Commit d5f1c26 has been approved by RalfJung

@bors
Copy link
Contributor

bors commented Jul 7, 2022

⌛ Testing commit d5f1c26 with merge 4e4607b...

@bors
Copy link
Contributor

bors commented Jul 7, 2022

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 4e4607b to master...

@bors bors merged commit 4e4607b into rust-lang:master Jul 7, 2022
@RalfJung RalfJung deleted the rustup branch July 7, 2022 02:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants