Skip to content

Rollup of 2 pull requests - #163392

Merged
rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
jhpratt:rollup-Etsin1e
Sep 27, 2026
Merged

rust-bors[bot] merged 5 commits into
rust-lang:mainfrom
jhpratt:rollup-Etsin1e

Conversation

@jhpratt

@jhpratt jhpratt commented Sep 26, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

rustbot and others added 5 commits September 21, 2026 19:00
…fonthey

Guarantee 8 bytes of alignment of RawWakerVTable

This is similar to an earlier PR I made for `Thread::into_raw`: rust-lang#143859.

When using `AtomicPtr` for synchronization it's incredibly useful when you've got a couple bits you can stuff metadata in. By guaranteeing that `RawWakerVTable` is aligned to 8 bytes everyone can use the bottom 3 bits to signal other things, such as a critical section, etc. In particular, this can be used to portably implement an `AtomicWaker` which is always two pointers in size, no more.

On almost all platforms the align is already 8 bytes, and on other platforms it might cause an infinitesimal increase in size. This guarantee is thus very useful and costs us essentially nothing.

---

r? libs-api

Like last time since this adds a guarantee this probably needs a FCP.
Update books

## rust-lang/reference

2 commits in e24eecf97b0c9a6dbac67191098204dc8a190aaa..4245282b97496585e73862b966d639cbb553bd6c
2026-09-15 19:41:20 UTC to 2026-09-15 17:32:28 UTC

- Glossary: add entry and examples for `n-zst` (rust-lang/reference#2357)
- Document RISC-V d and f extensions (rust-lang/reference#2355)

## rust-lang/rust-by-example

4 commits in 15308f3e951814ef3475d2b58f48276e6b17b9af..af5ef7024e88587aa3be244422f6365e86c50e85
2026-09-15 14:15:08 UTC to 2026-09-15 14:13:27 UTC

- Better formatting (rust-lang/rust-by-example#2024)
- Add an example of accessing Union elements (unsafe) (rust-lang/rust-by-example#2027)
- Improve linked list example (rust-lang/rust-by-example#2022)
- Fix typo in TRANSLATING.md (rust-lang/rust-by-example#2028)
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Sep 26, 2026
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Sep 26, 2026
@jhpratt

jhpratt commented Sep 26, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

📌 Commit ea2cb99 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 26, 2026
@rust-bors

This comment has been minimized.

@rust-bors rust-bors Bot added merged-by-bors This PR was explicitly merged by bors. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 27, 2026
@rust-bors

rust-bors Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 3m 9s
Pushing c231371 to main...

@rust-bors
rust-bors Bot merged commit c231371 into rust-lang:main Sep 27, 2026
14 checks passed
@rustbot rustbot added this to the 1.101.0 milestone Sep 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor
What is this? This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.

Comparing 75a75c3 (parent) -> c231371 (this PR)

Test differences

Show 23 test diffs

23 doctest diffs were found. These are ignored, as they are noisy.

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard c23137133458bf7a49f4a55d3adb9e2c7c33bd79 --output-dir test-dashboard

And then open test-dashboard/index.html in your browser to see an overview of all executed tests.

Job duration changes

  1. test-x86_64-gnu-llvm-21-2: 1h 9m -> 1h 41m (+46.7%)
  2. test-x86_64-rust-for-linux: 57m 2s -> 33m 48s (-40.7%)
  3. test-i686-gnu-nopt-1: 1h 37m -> 2h 12m (+35.1%)
  4. test-x86_64-gnu-llvm-21: 52m 4s -> 35m 1s (-32.7%)
  5. test-armhf-gnu: 1h 9m -> 1h 31m (+32.2%)
  6. dist-x86_64-llvm-mingw: 1h 39m -> 2h 11m (+31.8%)
  7. dist-powerpc64le-linux-musl: 1h 16m -> 1h 38m (+28.5%)
  8. dist-ohos-x86_64: 1h 3m -> 1h 21m (+27.6%)
  9. dist-ohos-aarch64: 1h 20m -> 58m 42s (-27.1%)
  10. test-x86_64-msvc-1: 2h 50m -> 2h 4m (-26.9%)
How to interpret the job duration changes?

Job durations can vary a lot, based on the actual runner instance
that executed the job, system noise, invalidated caches, etc. The table above is provided
mostly for t-infra members, for simpler debugging of potential CI slow-downs.

@rust-timer

Copy link
Copy Markdown
Collaborator

Finished benchmarking commit (c231371): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This perf run didn't have relevant results for this metric.

Max RSS (memory usage)

Results (primary -3.4%, secondary -6.6%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-3.4% [-3.4%, -3.4%] 1
Improvements ✅
(secondary)
-6.6% [-6.6%, -6.6%] 1
All ❌✅ (primary) -3.4% [-3.4%, -3.4%] 1

Cycles

Results (primary 1.9%, secondary -1.0%)

A less reliable metric. May be of interest, but not used to determine the overall result above.

mean range count
Regressions ❌
(primary)
1.9% [1.9%, 1.9%] 1
Regressions ❌
(secondary)
1.0% [1.0%, 1.0%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-3.0% [-3.0%, -3.0%] 1
All ❌✅ (primary) 1.9% [1.9%, 1.9%] 1

Binary size

This perf run didn't have relevant results for this metric.

Bootstrap: 487.818s -> 489.459s (0.34%)
Artifact size: 406.33 MiB -> 406.31 MiB (-0.01%)

@rust-bors

rust-bors Bot commented Sep 27, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#158186 Guarantee 8 bytes of alignment of RawWakerVTable 9a90f0801786f27a242d205c3b4856dbeec37499
(link)
#163122 Update books f6467859ee6fbab987180125c92071ac4fbd17d5
(link)

parent commit: 75a75c3e0a

In the case of a perf regression, run the following command with the SHAs of each PR you suspect might be the cause: @rust-timer triage $SHA $SHA $SHA..., or run @rust-timer triage all to benchmark all rollup members.

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

Labels

merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) 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