Skip to content

Rollup of 4 pull requests - #166371

Merged
rust-bors[bot] merged 11 commits into
rust-lang:mainfrom
jhpratt:rollup-pKSrhMI
Nov 23, 2026
Merged

rust-bors[bot] merged 11 commits into
rust-lang:mainfrom
jhpratt:rollup-pKSrhMI

Conversation

@jhpratt

@jhpratt jhpratt commented Nov 23, 2026

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

JonathanBrouwer and others added 11 commits November 20, 2026 12:00
…jorn3

Output type refactors & change analysis query into required_analysis

Split from rust-lang#163670

We split OutputType from `config.rs` to `output.rs`, and because we only use full_analysis a single time in each compilation (at least currently), convert it to a regular function, and have `required_analysis` be the query.

r? @bjorn3
Introduce `rustc-unicode` crate for centralising Unicode version management

Related to rust-lang#165289.
I noticed that, while we check that `UNICODE_VERSION` is consistent across several crates, not all are included in the check. This introduces a new `rustc-unicode` crate which handles depending on any `unicode-*` crates, checks their versions are consistent, and re-exports them.
`unicode-script` is one such crate that wasn't being checked, so update the version of that crate.
Tidy-sort and use more of `GeneratedAttr`

Can be reviewed commit by commit, every commit passes tests

r? @mejrs (or someone else)
Disallow duplicates of `rustc_const_stable_indirect` and `allow_internal_unsafe` attributes
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 23, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustc-dev-guide Area: rustc-dev-guide 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-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue. labels Nov 23, 2026
@jhpratt

jhpratt commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

📌 Commit e7cbfcb 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 Nov 23, 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 Nov 23, 2026
@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 19m 10s
Pushing 5debe6a to main...

@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 fde8dfd (parent) -> 5debe6a (this PR)

Test differences

Show 39 test diffs

Stage 1

  • [ui] tests/ui-fulldeps/lexer/unicode-version.rs: pass -> [missing] (J1)

Stage 2

  • [ui] tests/ui-fulldeps/lexer/unicode-version.rs: pass -> [missing] (J0)

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

Job group index

Test dashboard

Run

cargo run --manifest-path src/ci/citool/Cargo.toml -- \
    test-dashboard 5debe6a1244452beced762385f88a51857a915fc --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: 1h 28m -> 2h 51m (+93.6%)
  2. test-x86_64-gnu-stable: 1h 41m -> 2h 52m (+69.7%)
  3. test-x86_64-msvc-ext2: 1h 2m -> 1h 37m (+55.9%)
  4. dist-loongarch64-musl: 1h 21m -> 2h 6m (+55.8%)
  5. test-x86_64-gnu-stdlib-semver-check: 10m 15s -> 15m 29s (+51.1%)
  6. test-x86_64-gnu-distcheck: 1h 39m -> 2h 29m (+49.3%)
  7. dist-armv7-linux: 1h 7m -> 1h 41m (+49.1%)
  8. test-i686-gnu-2: 1h 17m -> 1h 52m (+45.0%)
  9. dist-x86_64-illumos: 1h 18m -> 1h 53m (+44.7%)
  10. test-i686-gnu-nopt-1: 1h 45m -> 2h 30m (+43.5%)
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 (5debe6a): comparison URL.

Overall result: ✅ improvements - no action needed

@rustbot label: -perf-regression

Instruction count

Our most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.

mean range count
Regressions ❌
(primary)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-0.8% [-0.9%, -0.8%] 4
Improvements ✅
(secondary)
-0.4% [-0.8%, -0.3%] 17
All ❌✅ (primary) -0.8% [-0.9%, -0.8%] 4

Max RSS (memory usage)

Results (primary 1.3%, secondary -2.2%)

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

mean range count
Regressions ❌
(primary)
2.5% [2.5%, 2.6%] 2
Regressions ❌
(secondary)
1.4% [0.7%, 3.0%] 4
Improvements ✅
(primary)
-1.3% [-1.3%, -1.3%] 1
Improvements ✅
(secondary)
-3.2% [-6.7%, -0.4%] 15
All ❌✅ (primary) 1.3% [-1.3%, 2.6%] 3

Cycles

Results (primary -2.4%, secondary 0.2%)

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)
1.8% [0.6%, 2.7%] 3
Improvements ✅
(primary)
-2.4% [-2.6%, -2.2%] 2
Improvements ✅
(secondary)
-2.3% [-4.0%, -0.5%] 2
All ❌✅ (primary) -2.4% [-2.6%, -2.2%] 2

Binary size

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

Bootstrap: 460.128s -> 460.778s (0.14%)
Artifact size: 405.77 MiB -> 405.75 MiB (-0.00%)

@rust-bors

rust-bors Bot commented Nov 23, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#166270 Output type refactors & change analysis query into required… d9ee9efcd646a3e9d27332c8ff798480fd0797a5
(link)
#165302 Introduce rustc-unicode crate for centralising Unicode ve… 161e9bbce7a5bc169a661fefc15652af2df7a114
(link)
#166249 Tidy-sort and use more of GeneratedAttr a48bdf522c9c49eca28484b3c701f93cc104d86e
(link)
#166370 Disallow duplicates of rustc_const_stable_indirect and `a… 15998a76965f76c92b6521cc7db499fe9656d0cd
(link)

parent commit: fde8dfd638

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.

@jhpratt
jhpratt deleted the rollup-pKSrhMI branch November 24, 2026 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-rustc-dev-guide Area: rustc-dev-guide 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-clippy Relevant to the Clippy team. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustfmt Relevant to the rustfmt team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants