Skip to content

Rollup of 5 pull requests#154326

Merged
rust-bors[bot] merged 10 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-MflIdQW
Mar 24, 2026
Merged

Rollup of 5 pull requests#154326
rust-bors[bot] merged 10 commits intorust-lang:mainfrom
JonathanBrouwer:rollup-MflIdQW

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

Zalathar and others added 10 commits February 16, 2026 22:10
…ease

Unalign `PackedFingerprint` on all hosts, not just x86 and x86-64

Back in rust-lang#78646, `DepNode` was modified to store an unaligned `PackedFingerprint` instead of an 8-byte-aligned `Fingerprint`. That reduced the size of DepNode from 24 bytes to 17 bytes (nowadays 18 bytes), resulting in considerable memory savings in incremental builds.

See rust-lang#152695 (comment) for a benchmark demonstrating the impact of *removing* that optimization.

At the time (and today), the unaligning was only performed on x86 and x86-64 hosts, because those CPUs are known to generally have low overhead for unaligned memory accesses. Hosts with other CPU architectures would continue to use an 8-byte-aligned fingerprint and a 24-byte DepNode.

Given the subsequent rise of aarch64 (especially on macOS) and other architectures, it's a shame that some commonly-used builds of rustc don't get those memory-size benefits, based on a decision made several years ago under different circumstances.

We don't have benchmarks to show the actual effect of unaligning DepNode fingerprints on various non-x86 hosts, but it seems very likely to be a good idea on Apple chips, and I have no particular reason to think that it will be catastrophically bad on other hosts. And we don't typically perform this kind of speculative pessimization in other parts of the compiler.
… r=oli-obk

constify const Fn*: Destruct

makes closures const destruct where their upvars are. i think this makes sense
and is how this should be implemented.

r? @oli-obk
improve validation error messages: show surrounding type

Also, for dyn-downcast show the type we're downcasting to.

r? @oli-obk
…ouxu

use `minicore` more in testing inline assembly

Both for easier development and because some niche assembly features were only tested on one platform.

try-job: aarch64-gnu
try-job: x86_64-gnu
try-job: x86_64-gnu-debug
Use verbose span suggestion for type const

close: rust-lang#154214

r? fmease
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Mar 24, 2026
@rustbot rustbot added A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` 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-libs Relevant to the library team, which will review and decide on the PR/issue. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) labels Mar 24, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 24, 2026

📌 Commit 9396ab2 has been approved by JonathanBrouwer

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 Mar 24, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

Trying commonly failed jobs
@bors try jobs=test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1

@rust-bors

This comment has been minimized.

rust-bors bot pushed a commit that referenced this pull request Mar 24, 2026
Rollup of 5 pull requests


try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
@rust-bors

This comment has been minimized.

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 24, 2026

☀️ Try build successful (CI)
Build commit: d4fb29b (d4fb29bc6574557700381c7da3d332f6d55ef7fc, parent: 0312931d8c0ba1a28268a12c06202b68cbc65f76)

@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 Mar 24, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Mar 24, 2026

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 3h 22m 10s
Pushing 362211d to main...

@rust-bors rust-bors bot merged commit 362211d into rust-lang:main Mar 24, 2026
13 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Mar 24, 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 63154b7 (parent) -> 362211d (this PR)

Test differences

Show 60 test diffs

Stage 1

  • [ui] tests/ui/asm/aarch64/aarch64-sve.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/bad-options.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/bad-reg.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/duplicate-options.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/interpolated-idents.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/parse-error.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/srcloc.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/asm/aarch64/ttbr0_el2.rs: ignore (only executed when the architecture is aarch64) -> pass (J3)
  • [ui] tests/ui/traits/const-traits/const-closure-with-indestructible-indestructible.rs#next: [missing] -> pass (J3)
  • [ui] tests/ui/traits/const-traits/const-closure-with-indestructible-indestructible.rs#old: [missing] -> pass (J3)
  • array::extra_const_array_ops: [missing] -> pass (J7)

Stage 2

  • [ui] tests/ui/asm/aarch64/aarch64-sve.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/bad-options.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/bad-reg.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/duplicate-options.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/interpolated-idents.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/parse-error.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/srcloc.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/aarch64/ttbr0_el2.rs: ignore (only executed when the architecture is aarch64) -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/x86_64/issue-96797.rs: pass -> ignore (gcc backend is marked as ignore) (J0)
  • [ui] tests/ui/asm/x86_64/bad-clobber-abi.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/bad-options.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/bad-reg.rs#experimental_reg: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/bad-reg.rs#stable: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/goto-block-safe.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/interpolated-idents.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/issue-82869.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/issue-89875.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/target-feature-attr.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/x86_64/x86_64_parse_error.rs: ignore (only executed when the architecture is x86_64) -> pass (J1)
  • [ui] tests/ui/asm/aarch64/aarch64-sve.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/bad-options.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/bad-reg.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/duplicate-options.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/interpolated-idents.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/parse-error.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/asm/aarch64/ttbr0_el2.rs: ignore (only executed when the architecture is aarch64) -> pass (J2)
  • [ui] tests/ui/traits/const-traits/const-closure-with-indestructible-indestructible.rs#next: [missing] -> pass (J4)
  • [ui] tests/ui/traits/const-traits/const-closure-with-indestructible-indestructible.rs#old: [missing] -> pass (J4)
  • array::extra_const_array_ops: [missing] -> pass (J5)
  • [ui] tests/ui/asm/aarch64/srcloc.rs: ignore (only executed when the architecture is aarch64) -> pass (J6)
  • [ui] tests/ui/asm/x86_64/issue-96797.rs: ignore (only executed when the operating system is linux) -> pass (J8)
  • [ui] tests/ui/asm/x86_64/srcloc.rs: ignore (only executed when the architecture is x86_64) -> pass (J9)
  • [ui] tests/ui/asm/x86_64/issue-96797.rs: ignore (only executed when the architecture is x86_64) -> pass (J10)

Additionally, 16 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 362211dc29abc4e8f8cfc384740237f144929b03 --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. dist-aarch64-linux: 1h 42m -> 2h 39m (+55.3%)
  2. x86_64-gnu-llvm-22-2: 1h 22m -> 1h 40m (+21.6%)
  3. pr-check-1: 27m 48s -> 33m 48s (+21.5%)
  4. i686-gnu-nopt-1: 2h 2m -> 2h 24m (+18.2%)
  5. i686-gnu-2: 1h 30m -> 1h 45m (+16.7%)
  6. aarch64-gnu-llvm-21-1: 54m 14s -> 1h 3m (+16.6%)
  7. x86_64-gnu-llvm-21-1: 1h 3m -> 1h 12m (+15.2%)
  8. aarch64-gnu-debug: 1h 8m -> 1h 18m (+14.6%)
  9. i686-gnu-1: 2h 7m -> 2h 25m (+13.8%)
  10. x86_64-gnu-tools: 56m 13s -> 1h 3m (+12.7%)
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 (362211d): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

This benchmark run did not return any relevant results for this metric.

Max RSS (memory usage)

Results (secondary -0.5%)

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)
6.4% [6.4%, 6.4%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-7.3% [-7.3%, -7.3%] 1
All ❌✅ (primary) - - 0

Cycles

Results (primary 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.2% [2.1%, 2.3%] 2
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.2% [2.1%, 2.3%] 2

Binary size

This benchmark run did not return any relevant results for this metric.

Bootstrap: 485.223s -> 497.654s (2.56%)
Artifact size: 394.92 MiB -> 394.84 MiB (-0.02%)

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

Labels

A-test-infra-minicore Area: `minicore` test auxiliary and `//@ add-core-stubs` merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants