Skip to content

Rollup of 6 pull requests#154740

Merged
rust-bors[bot] merged 19 commits intorust-lang:mainfrom
jhpratt:rollup-ovaeVhE
Apr 3, 2026
Merged

Rollup of 6 pull requests#154740
rust-bors[bot] merged 19 commits intorust-lang:mainfrom
jhpratt:rollup-ovaeVhE

Conversation

@jhpratt
Copy link
Copy Markdown
Member

@jhpratt jhpratt commented Apr 3, 2026

Successful merges:

Failed merges:

r? @ghost

Create a similar rollup

tgross35 and others added 19 commits April 1, 2026 14:34
This implementation was added recently in f12288e
("TryFrom<integer> for bool") but used an old feature gate and
stabilization version. Update to reflect when these were actually added.
…egative ones

rustdoc assumed every `Deref` impl has an associated `Target` type,
but negative impls (e.g. `impl !Deref for T {}`) have none.
Skip them in both the trait-impl collection pass and the
HTML render pass to avoid panicking on the missing Target.
This functions name totally contradicted what it did. And the only
places it was used immediatly `!`ed it. Push the `!` into the function,
and rename it to make sense.

Should hopefully result in less head-scratching next time someone looks
at this.
rustdoc ICE fix: When collecting `Deref` impls with their targets, skip the negative ones

rustdoc assumed every `Deref` impl has an associated `Target` type, but negative impls (e.g. `impl !Deref for T {}`) have none.

Skip them in both the trait-impl collection pass and the HTML render pass to avoid panicking on the missing `Target`.

Closes rust-lang#128801.
…szelmann

Make #[cfg] suggest any or all on #[cfg(a, b)]
core: Update the feature gate on `TryFrom<integer> for bool`

This implementation was added recently in f12288e ("TryFrom<integer> for bool") but used an old feature gate and stabilization version. Update to reflect when these were actually added.
…, r=GuillaumeGomez

rustdoc: fix href of extern crates in search results

To avoid modifying the search index, I instead overloaded an existing field that is always unused for extern crate items.

fixes rust-lang#148300

r? @GuillaumeGomez
… r=GuillaumeGomez

rustdoc: Improve internal function name

This functions name totally contradicted what it did. And the only places it was used immediatly `!`ed it. Push the `!` into the function, and rename it to make sense.

Should hopefully result in less head-scratching next time someone looks at this.

r? @GuillaumeGomez
fix(std): avoid AT_MINSIGSTKSZ on uclibc targets

Closes rust-lang#154679

`AT_MINSIGSTKSZ` is not defined on uclibc.

r? @tgross35
@rust-bors rust-bors bot added the rollup A PR which is a rollup label Apr 3, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature O-unix Operating system: Unix-like 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 Apr 3, 2026
@jhpratt
Copy link
Copy Markdown
Member Author

jhpratt commented Apr 3, 2026

@bors r+ rollup=never p=5

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 3, 2026

📌 Commit 53af5ab 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 Apr 3, 2026
@rust-bors rust-bors bot mentioned this pull request Apr 3, 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 Apr 3, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors bot commented Apr 3, 2026

☀️ Test successful - CI
Approved by: jhpratt
Duration: 3h 24m 35s
Pushing 5bbdeaa to main...

@rust-bors rust-bors bot merged commit 5bbdeaa into rust-lang:main Apr 3, 2026
12 checks passed
@rustbot rustbot added this to the 1.96.0 milestone Apr 3, 2026
@rust-timer
Copy link
Copy Markdown
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#154444 rustdoc ICE fix: When collecting Deref impls with their t… 5cb09d150ceb891c3b47e75fa44073a0d159aada (link)
#154590 Make #[cfg] suggest any or all on #[cfg(a, b)] 1efb4cb93d10f4c78c3b27156ec0335947a1a3ec (link)
#154691 core: Update the feature gate on TryFrom<integer> for bool 0c72a6661f773df2d4599e01ab8682636a23ff40 (link)
#154697 rustdoc: fix href of extern crates in search results f9e2c83aa585d2f616fe4ae130501286fadeb031 (link)
#154728 rustdoc: Improve internal function name 41191cf73e28b0da697acd2f3cb5de60ab2f7e60 (link)
#154732 fix(std): avoid AT_MINSIGSTKSZ on uclibc targets 136ca6e55a639f3e13e7d8680b3dad95e1017e89 (link)

previous master: 55e86c9968

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

github-actions bot commented Apr 3, 2026

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 55e86c9 (parent) -> 5bbdeaa (this PR)

Test differences

Show 10 test diffs

Stage 1

  • [rustdoc-html] tests/rustdoc-html/deref/negative-deref-impl-128801.rs: [missing] -> pass (J1)
  • [rustdoc-js] tests/rustdoc-js/renamed-crate-148300.rs: [missing] -> pass (J1)
  • [ui] tests/rustdoc-ui/deref/negative-deref-ice-128801.rs: [missing] -> pass (J1)
  • [ui] tests/ui/cfg/suggest-any-or-all.rs: [missing] -> pass (J1)

Stage 2

  • [ui] tests/ui/cfg/suggest-any-or-all.rs: [missing] -> pass (J0)
  • [rustdoc-js] tests/rustdoc-js/renamed-crate-148300.rs: [missing] -> pass (J2)
  • [rustdoc-html] tests/rustdoc-html/deref/negative-deref-impl-128801.rs: [missing] -> pass (J3)
  • [ui] tests/rustdoc-ui/deref/negative-deref-ice-128801.rs: [missing] -> pass (J3)

Additionally, 2 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 5bbdeaa9a8dc563185f40e99f96704cbcc7a6e6e --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-x86_64-apple: 2h 2m -> 2h 31m (+23.1%)
  2. dist-aarch64-apple: 2h 7m -> 1h 38m (-22.7%)
  3. tidy: 2m 30s -> 2m 48s (+12.0%)
  4. pr-check-1: 33m 58s -> 30m 4s (-11.5%)
  5. dist-aarch64-llvm-mingw: 1h 42m -> 1h 54m (+11.5%)
  6. x86_64-gnu-llvm-21-2: 1h 40m -> 1h 28m (-11.4%)
  7. optional-x86_64-gnu-parallel-frontend: 2h 36m -> 2h 49m (+8.6%)
  8. aarch64-gnu-llvm-21-1: 1h 3m -> 58m 27s (-8.4%)
  9. dist-x86_64-llvm-mingw: 1h 59m -> 1h 50m (-7.5%)
  10. dist-apple-various: 1h 38m -> 1h 45m (+6.6%)
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 (5bbdeaa): comparison URL.

Overall result: ❌ regressions - 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.4% [0.3%, 0.5%] 8
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary -1.0%, secondary -1.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)
3.9% [2.0%, 4.9%] 3
Improvements ✅
(primary)
-1.0% [-1.0%, -1.0%] 1
Improvements ✅
(secondary)
-5.0% [-6.2%, -4.1%] 4
All ❌✅ (primary) -1.0% [-1.0%, -1.0%] 1

Cycles

Results (primary 2.6%, secondary 14.1%)

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

mean range count
Regressions ❌
(primary)
2.6% [2.4%, 3.2%] 3
Regressions ❌
(secondary)
14.1% [8.0%, 20.5%] 10
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) 2.6% [2.4%, 3.2%] 3

Binary size

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

Bootstrap: 486.952s -> 485.659s (-0.27%)
Artifact size: 395.04 MiB -> 395.05 MiB (0.00%)

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-rustdoc-js Area: Rustdoc's JS front-end A-rustdoc-search Area: Rustdoc's search feature merged-by-bors This PR was explicitly merged by bors. O-unix Operating system: Unix-like 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.

10 participants