Skip to content

cmpxchg16b: use atomic_compare_exchange from libcore #1811

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
May 30, 2025

Conversation

RalfJung
Copy link
Member

This is in preparation for rust-lang/rust#141700.

Exposing atomic_compare_exchange just landed on master so we may have to wait for the next nightly before this can land here.

@rustbot
Copy link
Collaborator

rustbot commented May 29, 2025

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@RalfJung
Copy link
Member Author

@Amanieu should be good to go now :)

@Amanieu Amanieu added this pull request to the merge queue May 30, 2025
Merged via the queue into rust-lang:master with commit 9a7fb80 May 30, 2025
62 checks passed
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 8, 2025
…r=bjorn3

Atomic intrinsics : use const generic ordering, part 2

This completes what got started in rust-lang#141507 by using a const generic for the ordering for all intrinsics. It is based on that PR; only the last commit is new.

Blocked on:
- rust-lang#141507
- rust-lang#141687
- rust-lang/stdarch#1811
- rust-lang#141964

r? `@bjorn3`
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Jun 8, 2025
…r=bjorn3

Atomic intrinsics : use const generic ordering, part 2

This completes what got started in rust-lang#141507 by using a const generic for the ordering for all intrinsics. It is based on that PR; only the last commit is new.

Blocked on:
- rust-lang#141507
- rust-lang#141687
- rust-lang/stdarch#1811
- rust-lang#141964

r? ``@bjorn3``
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.

3 participants