Skip to content

Conversation

mystor
Copy link
Contributor

@mystor mystor commented Nov 1, 2020

These methods were stabilized for the integer atomics in #71843, but the methods were not added for the non-integer atomics AtomicBool and AtomicPtr.

@rust-highfive
Copy link
Contributor

r? @LukasKalbertodt

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Nov 1, 2020
@m-ou-se
Copy link
Member

m-ou-se commented Nov 1, 2020

Thanks!

Surprising that these didn't exist yet. Looks like they were just forgotten?

Can you open a tracking issue for them and add its number in the #[unstable] attributes?

We can probably kick off the FCP for stabilization on that issue quickly, as this very same function for the other Atomic types is already stable.

@m-ou-se m-ou-se assigned m-ou-se and unassigned LukasKalbertodt Nov 1, 2020
@m-ou-se m-ou-se added the T-libs-api Relevant to the library API team, which will review and decide on the PR/issue. label Nov 1, 2020
These methods were stabilized for the integer atomics in rust-lang#71843, but the methods
were not added for the non-integer atomics `AtomicBool` and `AtomicPtr`.
@m-ou-se
Copy link
Member

m-ou-se commented Nov 1, 2020

Thanks!

@bors r+

@bors
Copy link
Collaborator

bors commented Nov 1, 2020

📌 Commit 00f32e6 has been approved by m-ou-se

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Nov 1, 2020
m-ou-se added a commit to m-ou-se/rust that referenced this pull request Nov 1, 2020
Add fetch_update methods to AtomicBool and AtomicPtr

These methods were stabilized for the integer atomics in rust-lang#71843, but the methods were not added for the non-integer atomics `AtomicBool` and `AtomicPtr`.
@m-ou-se
Copy link
Member

m-ou-se commented Nov 1, 2020

@bors rollup

bors added a commit to rust-lang-ci/rust that referenced this pull request Nov 2, 2020
Rollup of 5 pull requests

Successful merges:

 - rust-lang#78606 (Clarify handling of final line ending in str::lines())
 - rust-lang#78610 (Do not remove tokens before AST json serialization)
 - rust-lang#78620 (Trivial fixes to bitwise operator documentation)
 - rust-lang#78627 (Point out that total_cmp is no strict superset of partial comparison)
 - rust-lang#78637 (Add fetch_update methods to AtomicBool and AtomicPtr)

Failed merges:

r? `@ghost`
@bors bors merged commit 50d7716 into rust-lang:master Nov 2, 2020
@rustbot rustbot added this to the 1.49.0 milestone Nov 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs-api Relevant to the library API team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants