Skip to content

Rollup of 7 pull requests - #153124

Merged
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-3OajkjU
Feb 26, 2026
Merged

Rollup of 7 pull requests#153124
rust-bors[bot] merged 28 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-3OajkjU

Conversation

@JonathanBrouwer

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

reddevilmidzyand others added 28 commits February 18, 2026 20:42
…nable autodiff in CI for it"
This reverts commit c033de9.
All three of these functions were previously taking `cache` and
`execute_query_fn` as separate arguments, but after some other recent
simplifications we can just pass `&'tcx QueryVTable<'tcx, C>` instead.
This makes it easier to see where `execute_query_fn` is actually called.
This function is tricky to document, and there's more that could be said here,
but I don't want to take up too much vertical space, or add too much risk of
details becoming inaccurate over time.
It's currently in `dep_node.rs`, along with a blanket impl. Specific
impls are in `dep_node_key.rs`. This commit moves the trait and the
blanket impl into `dep_node_key.rs`, so everything is in one place.
Because `Key` is extremely generic and hard to search for.
Also rename `LocalKey` and `AsLocalKey` similarly, for consistency.
We have two traits governing query keys, for no particular reason.
This commit combines them.
Because `Storage` is a vague name that I've never liked.
Revert "Move aarch64-apple dist builder to dynamic llvm linking"
Reverts c033de9 (part of rust-lang#152768) in order to fixrust-lang#153077.
…em-diag-args, r=jdonszelmann
Avoid duplicate `requirement` diag args in `RegionOriginNote`
Fixesrust-lang#143872
`RegionOriginNote::WithRequirement` can be emitted multiple times for one
diagnostic. I fixed the ICE by scoping per note fluent args in `RegionOriginNote::WithRequirement` with `store_args` and `restore_args`.
…jdonszelmann
Port `#[rustc_autodiff]` to the attribute parser infrastructure
For rust-lang#131229
r? @jdonszelmann
cc @ZuseZ4
`autodiff_forward` and `autodiff_reverse` can be ported in a seperate PR, but these are expanded in the AST and don't exist anymore in the HIR so this is a bit more of a challenge.
…athanBrouwer
Migration of `LintDiagnostic` - part 4
Follow-up of:
* rust-lang#152933
* rust-lang#153016
* rust-lang#153051
More `LintDiagnostic` items being migrated to `Diagnostic`. Since there is no remaining `emit_node_span_lint` calls, I replaced the method with the code of `emit_diag_node_span_lint`.
r? @JonathanBrouwer
…thercote
Query key cleanups
The first three commits are simple. The last two are a bit more opinionated, see what you think.
r? @Zalathar
mailmap: add redddy
I changed the email address used for git.
Clean up some code related to `QueryVTable::execute_query_fn`
This PR is an assortment of small cleanups to code that interacts with `execute_query_fn` in the query vtable.
I also experimented with trying to replace the macro-generated `__rust_end_short_backtrace` functions with a single shared generic function, but I couldn't manage to avoid breaking short backtraces, so I left a note behind to document my attempt.
r? nnethercote (or compiler)
@rust-borsrust-borsBot added the rollup A PR which is a rollup label Feb 26, 2026
@rustbotrustbot added the A-attributes Area: Attributes (`#[…]`, `#![…]`) label Feb 26, 2026
@rustbotrustbot added A-testsuite Area: The testsuite used to check the correctness of rustc F-autodiff `#![feature(autodiff)]` 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. labels Feb 26, 2026
@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

@bors r+ rollup=never p=11

@rust-bors

rust-borsBot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 3eafea8 has been approved by JonathanBrouwer

It is now in the queue for this repository.

@rust-borsrust-borsBot 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 26, 2026
@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

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-borsBot pushed a commit that referenced this pull request Feb 26, 2026
Rollup of 7 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

rust-borsBot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Try build successful (CI)
Build commit: d2468fe (d2468fe8709149febdde91c93c4588fdc2688abe, parent: f02672cb8bffef88934d31d9044257a4d11e5d1f)

@rust-borsrust-borsBot 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 Feb 26, 2026
@rust-bors

rust-borsBot commented Feb 26, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: JonathanBrouwer
Duration: 4h 17m 52s
Pushing bb779a9 to main...

@rust-bors
rust-borsBot merged commit bb779a9 into rust-lang:mainFeb 26, 2026
13 checks passed
@rustbotrustbot added this to the 1.95.0 milestone Feb 26, 2026
@rust-timer

Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR#MessagePerf Build Sha
#152651Avoid duplicate requirement diag args in `RegionOriginNot…908b47564e9dd3f741bee8f410fa725ba05b0418 (link)
#152978Port #[rustc_autodiff] to the attribute parser infrastruc…1df4d6eede6a656a186ba94b6ebe679a39d8332a (link)
#153079Revert "Move aarch64-apple dist builder to dynamic llvm lin…d508fcf2a3d443fa58d42a948541e1ce73f810b8 (link)
#153091Migration of LintDiagnostic - part 496299577e362f7937a16572c70ce48c0e349865f (link)
#153112Query key cleanupsf07a639661216be9f06bc3643933dcff321d8146 (link)
#153118mailmap: add redddy28faca081e55770332abbb8cce6167094d0acb76 (link)
#153120Clean up some code related to `QueryVTable::execute_query_f…122a72dcac509c8f7facdcc7944c5e96a342d012 (link)

previous master: 69b78537fa

In the case of a perf regression, run the following command for each PR you suspect might be the cause: @rust-timer build $SHA

@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 69b7853 (parent) -> bb779a9 (this PR)

Test differences

Show 36 test diffs

Stage 1

  • [ui] tests/ui/traits/compare-impl-item-conflicting-lifetime-requirements.rs: [missing] -> pass (J0)

Stage 2

  • [ui] tests/ui/traits/compare-impl-item-conflicting-lifetime-requirements.rs: [missing] -> pass (J1)

Additionally, 34 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 bb779a91568ac1ee0b8a9dcb6b69219ef30b18a3 --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. pr-check-1: 26m 56s -> 32m 32s (+20.7%)
  2. i686-gnu-2: 1h 25m -> 1h 42m (+19.7%)
  3. dist-aarch64-apple: 1h 42m -> 1h 59m (+16.2%)
  4. x86_64-gnu-tools: 55m 43s -> 1h 4m (+15.5%)
  5. x86_64-rust-for-linux: 46m 8s -> 52m 54s (+14.7%)
  6. armhf-gnu: 1h 24m -> 1h 35m (+13.5%)
  7. aarch64-gnu-llvm-20-2: 46m 5s -> 51m 46s (+12.3%)
  8. x86_64-gnu-miri: 1h 15m -> 1h 24m (+11.2%)
  9. x86_64-gnu-gcc: 1h 1m -> 1h 8m (+11.1%)
  10. dist-ohos-x86_64: 1h 11m -> 1h 18m (+10.0%)
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 (bb779a9): 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.

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-0.2%[-0.4%, -0.1%]17
Improvements ✅
(secondary)
-0.4%[-0.9%, -0.1%]20
All ❌✅ (primary)-0.2%[-0.4%, -0.1%]17

Max RSS (memory usage)

Results (primary -3.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
--0
Improvements ✅
(primary)
-3.1%[-3.1%, -3.1%]1
Improvements ✅
(secondary)
--0
All ❌✅ (primary)-3.1%[-3.1%, -3.1%]1

Cycles

Results (secondary 4.1%)

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

meanrangecount
Regressions ❌
(primary)
--0
Regressions ❌
(secondary)
4.1%[4.1%, 4.1%]1
Improvements ✅
(primary)
--0
Improvements ✅
(secondary)
--0
All ❌✅ (primary)--0

Binary size

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

Bootstrap: 480.132s -> 480.119s (-0.00%)
Artifact size: 395.80 MiB -> 395.65 MiB (-0.04%)

@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

Started 3 perf runs because I'd like to know what caused this happy accident: #153091#153112#153120

@JonathanBrouwer

Copy link
Copy Markdown
MemberAuthor

Caused by #153120

@JonathanBrouwer
JonathanBrouwer deleted the rollup-3OajkjU branch August 21, 2026 08:04
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributesArea: Attributes (`#[…]`, `#![…]`)A-CIArea: Our Github Actions CIA-LLVMArea: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.A-metaArea: Issues & PRs about the rust-lang/rust repository itselfA-query-systemArea: The rustc query system (https://rustc-dev-guide.rust-lang.org/query.html)A-testsuiteArea: The testsuite used to check the correctness of rustcF-autodiff`#![feature(autodiff)]`merged-by-borsThis PR was explicitly merged by bors.rollupA PR which is a rollupT-compilerRelevant to the compiler team, which will review and decide on the PR/issue.T-infraRelevant to the infrastructure team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants

@JonathanBrouwer@rust-timer@rustbot@reddevilmidzy@TaKO8Ki@RalfJung@Zalathar@nnethercote@GuillaumeGomez