Skip to content

Rollup of 4 pull requests#157219

Merged
rust-bors[bot] merged 9 commits into
rust-lang:mainfrom
jhpratt:rollup-70ooTMg
May 31, 2026
Merged

Rollup of 4 pull requests#157219
rust-bors[bot] merged 9 commits into
rust-lang:mainfrom
jhpratt:rollup-70ooTMg

Conversation

@jhpratt
Copy link
Copy Markdown
Member

@jhpratt jhpratt commented May 31, 2026

Successful merges:

r? @ghost

Create a similar rollup

fmease and others added 9 commits May 30, 2026 21:23
directory handles: add Dir::metadata

Adds a `metadata` method to the `fs::Dir` type so that one can fetch the metadata of a directory directly from a handle. This is very similar to `File::metadata`. In fact we reuse the existing implementation, which reduces code duplication but also is a bit hacky.

r? @the8472
Tracking issue: rust-lang#120426
…nket, r=lolbinarycat

 rustdoc: Separate the caches for synthetic auto trait & blanket impls

Fixes rust-lang#148980.
…g, r=Nadrieril

use custom `Exhaustive` enum instead of `bool`

Small cleanup, boolean blindness and all that.

I'm not totally sure about where to put the `RefutableFlag` enum, but the current place seemed fine.

r? Nadrieril (based on pattern match desugaring expertise)
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label May 31, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output. labels May 31, 2026
@jhpratt
Copy link
Copy Markdown
Member Author

jhpratt commented May 31, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 31, 2026

📌 Commit 0b67323 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 May 31, 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 May 31, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented May 31, 2026

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 15m 12s
Pushing 14210df to main...

@rust-bors rust-bors Bot merged commit 14210df into rust-lang:main May 31, 2026
13 checks passed
@rustbot rustbot added this to the 1.98.0 milestone May 31, 2026
@rust-timer
Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#157171 rustdoc: Separate the caches for synthetic auto trait & bl… ec14613aaadbae876d0a6ee130c8db78fad55433 (link)
#157185 Don't lower inner_span multiple times 153cae0363e9d474a83cd76cefdeb6811b64d840 (link)
#157192 directory handles: add Dir::metadata 416e676fa38b60a4f6a71207a637f9da42ae6e46 (link)
#157211 use custom Exhaustive enum instead of bool 0f86a31d338b6891e4bc8807bafd9a143978bbe5 (link)

previous master: 39e7b2ae75

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 39e7b2a (parent) -> 14210df (this PR)

Test differences

Show 236 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/impl/blanket-impl-trumps-auto-trait-impl.rs: [missing] -> pass (J2)
  • fs::tests::test_dir_metadata: [missing] -> pass (J3)

Stage 2

  • [rustdoc-html] tests/rustdoc-html/impl/blanket-impl-trumps-auto-trait-impl.rs: [missing] -> pass (J0)
  • fs::tests::test_dir_metadata: [missing] -> pass (J1)

Additionally, 232 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 14210df0e27ccd7d9e6a05b8085cbd438e4bbc65 --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 46m -> 2h 31m (+42.5%)
  2. x86_64-gnu-gcc-core-tests: 15m 35s -> 9m 43s (-37.6%)
  3. dist-x86_64-mingw: 2h 1m -> 2h 40m (+32.0%)
  4. i686-gnu-nopt-2: 1h 45m -> 2h 19m (+32.0%)
  5. x86_64-mingw-2: 2h 46m -> 2h (-27.6%)
  6. dist-x86_64-netbsd: 1h 31m -> 1h 9m (-23.4%)
  7. x86_64-msvc-ext2: 1h 56m -> 1h 29m (-22.9%)
  8. i686-gnu-1: 1h 52m -> 2h 18m (+22.5%)
  9. i686-gnu-nopt-1: 1h 53m -> 2h 18m (+21.2%)
  10. aarch64-apple: 3h 29m -> 2h 47m (-20.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 (14210df): 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.6% [-0.6%, -0.6%] 1
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -1.8%)

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

mean range count
Regressions ❌
(primary)
3.7% [3.7%, 3.7%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
-7.2% [-7.2%, -7.2%] 1
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -1.8% [-7.2%, 3.7%] 2

Cycles

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

Binary size

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

Bootstrap: 514.753s -> 511.515s (-0.63%)
Artifact size: 400.72 MiB -> 400.77 MiB (0.01%)

@jhpratt jhpratt deleted the rollup-70ooTMg branch June 2, 2026 21:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) 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. T-rustdoc Relevant to the rustdoc team, which will review and decide on the PR/issue. T-rustdoc-frontend Relevant to the rustdoc-frontend team, which will review and decide on the web UI/UX output.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants