Skip to content

Rollup of 4 pull requests - #162396

Closed
jhpratt wants to merge 10 commits into
rust-lang:mainfrom
jhpratt:rollup-5UtW33m
Closed

Rollup of 4 pull requests#162396
jhpratt wants to merge 10 commits into
rust-lang:mainfrom
jhpratt:rollup-5UtW33m

Conversation

@jhpratt

@jhpratt jhpratt commented Sep 7, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

bardiharborow and others added 10 commits September 5, 2026 15:35
ARMv8-M Baseline targets support CAS operations, but the atomic module docs incorrectly list them as load and store-only.

 Limit that restriction to ARMv6-M and include thumbv8m.base-* among the targets with full CAS support.
Since `reason` already has a span itself
…bank

Use `reason` for tracked item diagnostics from `cfg_select!`

This is a follow-up of rust-lang#157218 (comment)
I recommend reviewing commit by commit, each commit passes uitests.

r? @estebank
…omic-cas, r=JohnTitor

docs(core): correct ARMv8-M Baseline atomic CAS support

ARMv8-M Baseline targets support CAS operations, but the atomic module docs incorrectly list them as load and store-only.

The incorrect ARMv8-M Baseline comment was introduced in rust-lang#149241 while updating the atomic portability notes for ARMv4T/ARMv5TE.

Limit that restriction to ARMv6-M and include `thumbv8m.base-*` among the targets with full CAS support.

@rustbot label +A-docs +A-atomic +O-Arm +T-libs
Add a hint for using `nolimit` to the limiting error message

So people know they can get around it :)
I think the current wording is fine, if you'd like the message to be a bit scarier by adding "If really needed, ", lmk
remove EnumSizeOpt

This was landed years ago but has never been enabled due to odd issues that came up when merging it. The issues never got investigated (or at least, not with any conclusions). The author of the pass [said](rust-lang#154413 (comment)) they don't have time to work on it and recommend removing it.

So... let's do that.
r? @saethlin
Fixes rust-lang#154413
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Sep 7, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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. labels Sep 7, 2026
@jhpratt

jhpratt commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5

@rust-bors

rust-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

📌 Commit c51c3dd 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 Sep 7, 2026
@rust-bors

rust-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

rust-bors Bot pushed a commit that referenced this pull request Sep 7, 2026
Rollup of 4 pull requests

Successful merges:

 - #162367 (Use `reason` for tracked item diagnostics from `cfg_select!`)
 - #162319 (docs(core): correct ARMv8-M Baseline atomic CAS support)
 - #162383 (Add a hint for using `nolimit` to the limiting error message)
 - #162384 (remove EnumSizeOpt)
@jhpratt

jhpratt commented Sep 7, 2026

Copy link
Copy Markdown
Member Author

stalled; closing in favor of larger rollup

@jhpratt jhpratt closed this Sep 7, 2026
@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 7, 2026
@rust-bors

rust-bors Bot commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

This pull request was unapproved due to being closed.

Auto build was cancelled due to the PR being closed. Cancelled workflows:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup 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-infra Relevant to the infrastructure 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants