Skip to content

Rollup of 9 pull requests - #166548

Merged
rust-bors[bot] merged 43 commits into
rust-lang:mainfrom
jhpratt:rollup-MxMveoX
Nov 25, 2026
Merged

rust-bors[bot] merged 43 commits into
rust-lang:mainfrom
jhpratt:rollup-MxMveoX

Conversation

@jhpratt

@jhpratt jhpratt commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

sorairolake and others added 30 commits November 8, 2026 12:27
Add `r? @ghost` suffix to Josh push PRs
Add hashbrown to the list of Josh subtrees
This updates the rust-version file to fde8dfd.
This updates the rust-version file to 5debe6a.
…date-hir-lowering-doc

Update hir lowering doc
This is the regression test for Rust issue 96797.  LLVM had merged
away a function that `global_asm!` referred to with `sym`, causing the
build to fail to link.

But the test doesn't link right now.  We moved it to `minicore` (in
Rust PR 154277) and build it as a `no_core` library, so it would pass
even if that function were merged away.

Let's go back to building it as a binary for x86-64 Linux.
Not useful for bot PRs

> Thanks for the PR. If you have write access, feel free to merge this PR if it does not need reviews. You can request a review using r? rustc-dev-guide or r? <username>.
…ctors, r=jhpratt

feat(time): add `Duration` extractors for units larger than second

- Accepted ACP: rust-lang/libs-team#923
- Tracking issue:
  - rust-lang#165784
  - rust-lang#165786

This pull request adds `Duration::as_{weeks,days,hours,mins}` methods for units larger than the second.

Based on rust-lang#120301 and rust-lang#140881, the features are divided into the `duration_extractors` feature for `Duration::as_{weeks,days}` methods and the `duration_extractors_lite` feature for `Duration::as_{hours,mins}` methods.
…ckh726

Added regression test for issue rust-lang#53156

Added regression test for issue rust-lang#53156.
Includes the issue's 3a and 3b on top of 1a and 2a in both impl and top-level versions.
Does not include 3c since it should fail to compile: the lifetime of the `&self` parameter may not outlive the lifetime `'a` required.
Also included a -Znext-solver revision as it also compiles cleanly with the next-solver so failing with it would be a regression.

Closes rust-lang#53156.
Add explanatory comment and rename alias

This PR adds explanatory comment and rename alias as requested in rust-lang#159898 (comment)

r? @Kobzol
…error-typo, r=Kivooeo

Fix typo in ConstItemInteriorMutationsDiag struct

Fixes a typo in the error message found in the `ConstItemInteriorMutationsDiag` struct (`"is a interior mutable"` -> `"is an interior mutable"`) and updates the corresponding UI test `.stderr` files.
…, r=joshtriplett

Return `Err` from `send_process_group_signal` if leader has been awaited
rustc-dev-guide subtree update

Subtree update of `rustc-dev-guide` to rust-lang/rustc-dev-guide@34b9080.

Created using https://github.com/rust-lang/josh-sync.

r? @ghost
…fault, r=jieyouxu

Run more autodiff tests in CI

r? jieyouxu

Noticed we don't need it anymore when reviewing https://github.com/rust-lang/rust/pull/166196/changes#diff-3a91de5a40937a2785305f5d2231e835b31897c3df467d0ace07fb848bd0c604
We dlopen Enzyme at runtime when needed, but ui tests don't run the llvm opts and thus never try to load Enzyme.
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Nov 25, 2026
@rustbot rustbot added A-process Area: `std::process` (note: `std::env` is A-env) A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-time Area: `std::time` 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-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. labels Nov 25, 2026
@jhpratt

jhpratt commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

@bors r+ p=5 force

@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 34869ef 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 25, 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 25, 2026
@rust-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 2m 21s
Pushing 62bb1f5 to main...

@rust-bors
rust-bors Bot merged commit 62bb1f5 into rust-lang:main Nov 25, 2026
15 checks passed
@rustbot rustbot added this to the 1.102.0 milestone Nov 25, 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 8d77382 (parent) -> 62bb1f5 (this PR)

Test differences

Show 152 test diffs

Stage 1

  • [ui] tests/ui/autodiff/autodiff_illegal.rs: ignore (ignored when LLVM Enzyme is disabled or LLVM is not the default codegen backend) -> pass (J1)
  • [ui] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#current: [missing] -> pass (J1)
  • [ui] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#next: [missing] -> pass (J1)
  • [ui] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#riscv: [missing] -> pass (J1)
  • [ui] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#x86: [missing] -> pass (J1)
  • [ui (polonius)] tests/ui/autodiff/autodiff_illegal.rs: ignore (ignored when LLVM Enzyme is disabled or LLVM is not the default codegen backend) -> pass (J4)
  • [ui (polonius)] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#current: [missing] -> pass (J4)
  • [ui (polonius)] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#next: [missing] -> pass (J4)
  • [ui (polonius)] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#riscv: [missing] -> pass (J4)
  • [ui (polonius)] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#x86: [missing] -> pass (J4)

Stage 2

  • [ui] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#riscv: [missing] -> ignore (backend gcc cannot build for target riscv64im-unknown-none-elf) (J0)
  • [ui] tests/ui/autodiff/autodiff_illegal.rs: ignore (ignored when LLVM Enzyme is disabled or LLVM is not the default codegen backend) -> pass (J2)
  • [ui] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#current: [missing] -> pass (J2)
  • [ui] tests/ui/lifetimes/where-bound-with-lifetime-53156.rs#next: [missing] -> pass (J2)
  • [ui] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#x86: [missing] -> pass (J2)
  • [ui] tests/ui/asm/x86_64/issue-96797.rs: pass -> ignore (only executed when the operating system is linux) (J3)
  • [ui] tests/ui/asm/x86_64/issue-96797.rs: pass -> ignore (only executed when the architecture is x86_64) (J5)
  • [ui] tests/ui/target-feature/target-feature-flag-sets-cfg.rs#riscv: [missing] -> pass (J6)

Additionally, 134 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 62bb1f56341b538ddfef5800fcceeb249893a43d --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-aarch64-apple-macos-26-2: 1h 20m -> 2h 33m (+91.3%)
  2. test-x86_64-gnu-llvm-22-2: 1h 7m -> 1h 50m (+64.1%)
  3. test-x86_64-gnu-stable: 1h 36m -> 2h 36m (+62.6%)
  4. test-pr-check-1: 20m 42s -> 31m 33s (+52.4%)
  5. dist-x86_64-illumos: 1h 15m -> 1h 52m (+49.9%)
  6. dist-ohos-aarch64: 59m 19s -> 1h 26m (+46.6%)
  7. test-x86_64-msvc-2: 2h 43m -> 1h 29m (-45.2%)
  8. test-i686-msvc: 3h 18m -> 1h 50m (-44.3%)
  9. dist-ohos-armv7: 57m 49s -> 1h 20m (+38.7%)
  10. test-x86_64-gnu-gcc: 53m 45s -> 1h 14m (+38.1%)
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-bors

rust-bors Bot commented Nov 25, 2026

Copy link
Copy Markdown
Contributor

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#166438 add test checking that -Ctarget-feature implies cfg(target_… aea2564c023931b60085947ef2c644b4b23ecb4c
(link)
#166536 Make issue-96797.rs link again 81ec069d489bbc55d3c87f86a6ba679847807ef0
(link)
#165624 feat(time): add Duration extractors for units larger than… 5259367b77fd9021f982be725c858e54697e2c36
(link)
#166231 Added regression test for issue #53156 b793c605e7fadd3d366845cb714679ba15247727
(link)
#166401 Add explanatory comment and rename alias 269e2fd8e88ec074dc2c83bfbe9a3a6ed904d727
(link)
#166520 Fix typo in ConstItemInteriorMutationsDiag struct 86e2a720a7ef7cef3a311a30defbb96cbb516567
(link)
#166540 Return Err from send_process_group_signal if leader has… 64c6dafb09bbcc53f6e5b40430784598cefa307c
(link)
#166544 rustc-dev-guide subtree update 684ef7ada14b45852f5612114c415b53a8fe817c
(link)
#166545 Run more autodiff tests in CI 2c13169386fa17d28cbc9eca8b468a09bacc0d36
(link)

parent commit: 8d773821aa

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.

@rust-timer

Copy link
Copy Markdown

Finished benchmarking commit (62bb1f5): 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
Improvements ✅
(secondary)
-0.3% [-0.3%, -0.3%] 1
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (secondary 6.8%)

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.8% [6.8%, 6.8%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
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)
- - 0
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-2.2% [-2.2%, -2.2%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -2.2% [-2.2%, -2.2%] 1

Binary size

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

Bootstrap: 466.618s -> 462.136s (-0.96%)
Artifact size: 405.60 MiB -> 405.63 MiB (0.01%)

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

Labels

A-process Area: `std::process` (note: `std::env` is A-env) A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-time Area: `std::time` 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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.