Skip to content

Stabilize atomic_try_updateand deprecate fetch_update starting 1.99.0#148590

Merged
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
GrigorenkoPV:atomic_try_update
Feb 7, 2026
Merged

Stabilize atomic_try_updateand deprecate fetch_update starting 1.99.0#148590
rust-bors[bot] merged 1 commit intorust-lang:mainfrom
GrigorenkoPV:atomic_try_update

Conversation

@GrigorenkoPV
Copy link
Copy Markdown
Contributor

@GrigorenkoPV GrigorenkoPV commented Nov 6, 2025

View all comments

Tracking issue: #135894
FCP completed: #135894 (comment)

1.96.0 was chosen because I don't think the remaining month until 1.93.0 becomes beta is enough for the FCP to finish and this to get merged, so 1.94.0 + a couple of versions of leeway: #135894 (comment)

1.99 suggested in #148590 (comment)

Closes #135894

@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-libs Relevant to the library team, which will review and decide on the PR/issue. S-waiting-on-fcp Status: PR is in FCP and is awaiting for FCP to complete. labels Nov 6, 2025
@hanna-kruppe
Copy link
Copy Markdown
Contributor

I would suggest splitting out the lint change into a separate PR. It would be useful even before stabilization, I don't think it requires its own FCP, and it'll make the API stabilization itself a bit easier to review. That's especially important since the simultaneous deprecation makes it a big and tricky diff by stabilization standards!

@GrigorenkoPV
Copy link
Copy Markdown
Contributor Author

Good idea!

Done: #148601

matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 8, 2025
…ng, r=Kivooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang#148590

Tracking issue for `update` and `try_update`: rust-lang#135894
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Nov 8, 2025
…ng, r=Kivooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang#148590

Tracking issue for `update` and `try_update`: rust-lang#135894
Zalathar added a commit to Zalathar/rust that referenced this pull request Nov 9, 2025
…ng, r=Kivooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang#148590

Tracking issue for `update` and `try_update`: rust-lang#135894
rust-timer added a commit that referenced this pull request Nov 9, 2025
Rollup merge of #148601 - GrigorenkoPV:invalid_atomic_ordering, r=Kivooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from #148590

Tracking issue for `update` and `try_update`: #135894
github-actions bot pushed a commit to rust-lang/miri that referenced this pull request Nov 10, 2025
…ooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang/rust#148590

Tracking issue for `update` and `try_update`: rust-lang/rust#135894
makai410 pushed a commit to makai410/rustc_public that referenced this pull request Nov 10, 2025
…ooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang/rust#148590

Tracking issue for `update` and `try_update`: rust-lang/rust#135894
makai410 pushed a commit to makai410/rust that referenced this pull request Nov 10, 2025
…ng, r=Kivooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang#148590

Tracking issue for `update` and `try_update`: rust-lang#135894
makai410 pushed a commit to makai410/rustc_public that referenced this pull request Nov 16, 2025
…ooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang/rust#148590

Tracking issue for `update` and `try_update`: rust-lang/rust#135894
@bors
Copy link
Copy Markdown
Collaborator

bors commented Nov 23, 2025

☔ The latest upstream changes (presumably #149222) made this pull request unmergeable. Please resolve the merge conflicts.

@rust-log-analyzer

This comment has been minimized.

@GrigorenkoPV GrigorenkoPV marked this pull request as ready for review December 24, 2025 23:22
@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 24, 2025
@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Dec 24, 2025
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Dec 24, 2025

r? @scottmcm

rustbot has assigned @scottmcm.
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

@rustbot

This comment has been minimized.

@GrigorenkoPV
Copy link
Copy Markdown
Contributor Author

GrigorenkoPV commented Dec 24, 2025

@rustbot label -S-waiting-on-FCP

RIP

and deprecate fetch_update starting 1.99.0
@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Jan 27, 2026

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@GrigorenkoPV GrigorenkoPV changed the title Stabilize atomic_try_updateand deprecate fetch_update starting 1.96.0 Stabilize atomic_try_updateand deprecate fetch_update starting 1.99.0 Jan 27, 2026
@jhpratt
Copy link
Copy Markdown
Member

jhpratt commented Feb 7, 2026

@bors r+

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Feb 7, 2026

📌 Commit 3a48b9f has been approved by jhpratt

It is now in the queue for this repository.

@rust-bors rust-bors bot 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 Feb 7, 2026
jhpratt added a commit to jhpratt/rust that referenced this pull request Feb 7, 2026
…jhpratt

Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0

Tracking issue: rust-lang#135894
FCP completed: rust-lang#135894 (comment)

~1.96.0 was chosen because I don't think the remaining month until 1.93.0 becomes beta is enough for the FCP to finish and this to get merged, so 1.94.0 + a couple of versions of leeway: rust-lang#135894 (comment)

1.99 suggested in rust-lang#148590 (comment)

Closes rust-lang#135894
rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
Rollup of 4 pull requests

Successful merges:

 - #148590 (Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0)
 - #150522 (Stabilize new inclusive range type and iterator type)
 - #151576 (Stabilize `core::hint::cold_path`)
 - #152199 (Move `rustc_query_system::cache`.)
JonathanBrouwer added a commit to JonathanBrouwer/rust that referenced this pull request Feb 7, 2026
…jhpratt

Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0

Tracking issue: rust-lang#135894
FCP completed: rust-lang#135894 (comment)

~1.96.0 was chosen because I don't think the remaining month until 1.93.0 becomes beta is enough for the FCP to finish and this to get merged, so 1.94.0 + a couple of versions of leeway: rust-lang#135894 (comment)

1.99 suggested in rust-lang#148590 (comment)

Closes rust-lang#135894
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Feb 7, 2026

⌛ Testing commit 3a48b9f with merge 83d71ef...

Workflow: https://github.com/rust-lang/rust/actions/runs/21779822668

rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0

Tracking issue: #135894
FCP completed: #135894 (comment)

~1.96.0 was chosen because I don't think the remaining month until 1.93.0 becomes beta is enough for the FCP to finish and this to get merged, so 1.94.0 + a couple of versions of leeway: #135894 (comment)

1.99 suggested in #148590 (comment)

Closes #135894
@JonathanBrouwer
Copy link
Copy Markdown
Contributor

@bors yield
Yielding to enclosing rollup

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Feb 7, 2026

Auto build cancelled. Cancelled workflows:

The next pull request likely to be tested is #152282.

rust-bors bot pushed a commit that referenced this pull request Feb 7, 2026
…uwer

Rollup of 8 pull requests

Successful merges:

 - #148590 (Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0)
 - #150522 (Stabilize new inclusive range type and iterator type)
 - #152235 (Convert to inline diagnostics in `rustc_parse`)
 - #152267 (feat: Implement `int_from_ascii` for `NonZero<T>`)
 - #151576 (Stabilize `core::hint::cold_path`)
 - #151933 (Linker-plugin-based LTO: give an explanation how to use linker-plugin-lto with full LTO)
 - #152010 (Ignore all debuginfo tests for LLDB that we do not run in CI)
 - #152199 (Move `rustc_query_system::cache`.)
@rust-bors rust-bors bot merged commit 6fe0999 into rust-lang:main Feb 7, 2026
11 of 12 checks passed
@rustbot rustbot added this to the 1.95.0 milestone Feb 7, 2026
rust-timer added a commit that referenced this pull request Feb 7, 2026
Rollup merge of #148590 - GrigorenkoPV:atomic_try_update, r=jhpratt

Stabilize `atomic_try_update`and deprecate `fetch_update` starting 1.99.0

Tracking issue: #135894
FCP completed: #135894 (comment)

~1.96.0 was chosen because I don't think the remaining month until 1.93.0 becomes beta is enough for the FCP to finish and this to get merged, so 1.94.0 + a couple of versions of leeway: #135894 (comment)

1.99 suggested in #148590 (comment)

Closes #135894
@GrigorenkoPV GrigorenkoPV deleted the atomic_try_update branch February 7, 2026 15:42
yhdengh added a commit to fix-project/arca that referenced this pull request Feb 27, 2026
- Rename `bigint_helper_methods` feature gate to `widening_mul` in
`kernel/src/lib.rs`
[rust-lang/rust#152018](rust-lang/rust#152018)
- Remove stabilized `atomic_try_update` feature gate from
`common/src/lib.rs`
[rust-lang/rust#148590](rust-lang/rust#148590)

---------

Co-authored-by: Yuhan Deng <yhdeng@stanford.edu>
makai410 pushed a commit to makai410/rustc_public that referenced this pull request Mar 27, 2026
…ooeo

`invalid_atomic_ordering`: also lint `update` & `try_update`

Split from rust-lang/rust#148590

Tracking issue for `update` and `try_update`: rust-lang/rust#135894
@BoxyUwU BoxyUwU added the relnotes Marks issues that should be documented in the release notes of the next release. label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

relnotes Marks issues that should be documented in the release notes of the next release. S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tracking Issue for atomic_try_update