Skip to content

cmpxchg16b: use atomic_compare_exchange from libcore #1811

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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``
workingjubilee added a commit to workingjubilee/rustc 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```
bors added a commit to rust-lang/rust that referenced this pull request Jun 8, 2025
Atomic intrinsics : use const generic ordering, part 2

This completes what got started in #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:
- #141507
- #141687
- rust-lang/stdarch#1811
- #141964

r? `@bjorn3`
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Jun 9, 2025
Atomic intrinsics : use const generic ordering, part 2

This completes what got started in rust-lang/rust#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/rust#141507
- rust-lang/rust#141687
- rust-lang/stdarch#1811
- rust-lang/rust#141964

r? `@bjorn3`
lnicola pushed a commit to lnicola/rust-analyzer that referenced this pull request Jun 9, 2025
Atomic intrinsics : use const generic ordering, part 2

This completes what got started in rust-lang/rust#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/rust#141507
- rust-lang/rust#141687
- rust-lang/stdarch#1811
- rust-lang/rust#141964

r? `@bjorn3`
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants