Skip to content

Conversation

matthiaskrgr
Copy link
Member

@matthiaskrgr matthiaskrgr commented Sep 23, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

ctz and others added 27 commits September 16, 2025 11:51
These docs are in en_US, so "adapter" is the correct spelling
(and indeed used in the next line.)
Factor out the check for a variable that's still repeating.
Identify metavariable functions by using named symbols rather than
string comparisons.
…henkov

Fix uses of "adaptor"

These docs are in en_US, so "adapter" is the correct spelling (and indeed used in the next line.)

A second commit comes along for the ride to fix other instances in non-rustdoc comments.
…jdonszelmann

test: Use SVG for terminal url test

I came across the test for `-Zterminal-urls` and found its output a bit hard to read. So, I decided to switch it to an SVG test, as I found it easier to differentiate the link and link text.

Note: `anstyle-svg` needed to be upgraded to at least `0.1.8` to support links in SVGs, so I went ahead and upgraded it to the latest version (`0.1.11`).
[win] Use find-msvc-tools instead of cc to find the linker and rc on Windows

`find-msvc-tools` was factored out from `cc` to allow updating the use in `rustc_codegen_ssa` (finding the linker when running the Rust compiler) and `rustc_windows_rc` (finding the Windows Resource Compiler when running the Rust compiler) to be separate from the use in `rustc_llvm` (building LLVM as part of building the Rust compiler).
Fix a dangling reference in `rustc_thread_pool`

This diverged from `rayon` in rust-lang#142384, where a cleanup commit turned the matched `worker_index` into a reference, which is read _after_ the `set` that may kill it. I've moved that read beforehand, and I hope the new comments will emphasize the subtlety of this unsafe code.

Hopefully fixes rust-lang#146677.
…r=petrochenkov

mbe: Simplifications and refactoring

A few simplifications and refactors in advance of other work.

Macro metavariable expressions were using `Ident::as_str` and doing string
comparisons; I converted them to use symbols.

I factored out a function for transcribing a `ParseNtResult`, which will help
separate the evaluation and transcription of future macro metavariable
expressions.
add private module override re-export test

- Closes rust-lang#60926

Added a new test to check that `rustdoc` does not create links to `m2` in the crate root when `pub use m1::*` is overrided by `use crate::m1::m2`.
…nethercote

Linker-plugin-based LTO: update list of good combinations (inc. beta + nightly)

This PR updates the list of good combinations of Rust toolchains and LLVM releases for linker-plugin-based LTO

Related to first question in https://users.rust-lang.org/t/questions-regarding-linker-plugin-based-lto/134070
tests/run-make/crate-loading: Rename source files for clarity

For rust-lang#146874 I originally tried to extend the existing test **tests/run-make/crate-loading**. That didn't work out since adding a re-export of the entire crate significantly changes the emitted error messsage.

I did put some effort into making that test easier to understand however, by renaming its files. (Since I was confused myself at first.)  Let's save some time for future devs by doing just the renames.

Further cleanups are possible, but that will change the blessed output, so let's not do that right now.

r? ```@jieyouxu``` since you have the context of rust-lang#146874
…arycat,GuillaumeGomez

prevent line number from being copied in chrome

- Closes rust-lang#146816

Fix the issue where line numbers are copied along with code in Chrome
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-run-make Area: port run-make Makefiles to rmake.rs labels Sep 23, 2025
@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool 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. 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. WG-trait-system-refactor The Rustc Trait System Refactor Initiative (-Znext-solver) rollup A PR which is a rollup labels Sep 23, 2025
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Sep 23, 2025

📌 Commit 8e21b89 has been approved by matthiaskrgr

It is now in the queue for this repository.

@bors bors 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 Sep 23, 2025
@bors
Copy link
Collaborator

bors commented Sep 23, 2025

⌛ Testing commit 8e21b89 with merge 975e6c8...

@bors
Copy link
Collaborator

bors commented Sep 23, 2025

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 975e6c8 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Sep 23, 2025
@bors bors merged commit 975e6c8 into rust-lang:master Sep 23, 2025
8 of 11 checks passed
@rustbot rustbot added this to the 1.92.0 milestone Sep 23, 2025
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#146632 Fix uses of "adaptor" c3840f61651cc1b67aa82d2d877720ec877f3343 (link)
#146731 test: Use SVG for terminal url test 299d23e5b1d713a453c311caaa8c6434de7082a3 (link)
#146775 fixes for numerous clippy warnings 7d9ff76b62056f00ca69ee9dedc53374bced5ddf (link)
#146784 [win] Use find-msvc-tools instead of cc to find the linker … 4ee9eea858ec6d76e95324448c7f3b2736346413 (link)
#146799 Fix a dangling reference in rustc_thread_pool 0d2e62671ae74f7708e82e53627ffa8e14333c90 (link)
#146802 mbe: Simplifications and refactoring 5cf5d9bb3729ef99c0dc403040166eb6f89c28c8 (link)
#146806 add private module override re-export test 4854b411e483a38270359ea950f729a8d68952c6 (link)
#146827 Linker-plugin-based LTO: update list of good combinations (… 58ef8023f59bba8eff8ae655ec6d88a75cddd2bd (link)
#146875 tests/run-make/crate-loading: Rename source files for clari… 7518b5ce37b5963f70933fc1f2ce962e6960a71d (link)
#146877 prevent line number from being copied in chrome 8846300371cd0564629f50a77e68770243b259c0 (link)

previous master: 4056082360

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

Copy link
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 4056082 (parent) -> 975e6c8 (this PR)

Test differences

Show 10 test diffs

Stage 1

  • [rustdoc] tests/rustdoc/reexport/private-mod-override-reexport.rs: [missing] -> pass (J1)

Stage 2

  • [rustdoc] tests/rustdoc/reexport/private-mod-override-reexport.rs: [missing] -> pass (J0)

Additionally, 8 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 975e6c8fec280816d24fbde6b8dfe19620f2efe6 --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: 8802.5s -> 6234.3s (-29.2%)
  2. dist-apple-various: 3478.2s -> 4447.0s (27.9%)
  3. x86_64-rust-for-linux: 3007.2s -> 2633.4s (-12.4%)
  4. aarch64-msvc-2: 4894.7s -> 5305.2s (8.4%)
  5. dist-armv7-linux: 5090.0s -> 5515.3s (8.4%)
  6. dist-i586-gnu-i586-i686-musl: 5303.2s -> 4879.0s (-8.0%)
  7. dist-various-1: 3910.4s -> 4177.6s (6.8%)
  8. dist-arm-linux-musl: 5856.5s -> 5459.4s (-6.8%)
  9. aarch64-gnu-debug: 4569.6s -> 4302.6s (-5.8%)
  10. dist-x86_64-apple: 7358.7s -> 7785.0s (5.8%)
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.

@bors bors mentioned this pull request Sep 23, 2025
4 tasks
@rust-timer
Copy link
Collaborator

Finished benchmarking commit (975e6c8): 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.2% [-0.6%, -0.1%] 6
All ❌✅ (primary) - - 0

Max RSS (memory usage)

Results (primary 1.9%, secondary -4.6%)

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

mean range count
Regressions ❌
(primary)
1.9% [1.9%, 1.9%] 1
Regressions ❌
(secondary)
- - 0
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-4.6% [-5.0%, -4.0%] 7
All ❌✅ (primary) 1.9% [1.9%, 1.9%] 1

Cycles

Results (primary 2.3%, secondary 2.5%)

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

mean range count
Regressions ❌
(primary)
2.3% [2.0%, 2.6%] 4
Regressions ❌
(secondary)
3.0% [2.1%, 4.5%] 10
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-2.4% [-2.4%, -2.4%] 1
All ❌✅ (primary) 2.3% [2.0%, 2.6%] 4

Binary size

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

Bootstrap: 472.868s -> 470.599s (-0.48%)
Artifact size: 389.97 MiB -> 387.92 MiB (-0.53%)

Muscraft pushed a commit to Muscraft/rust that referenced this pull request Sep 24, 2025
…iaskrgr

Rollup of 10 pull requests

Successful merges:

 - rust-lang#146632 (Fix uses of "adaptor")
 - rust-lang#146731 (test: Use SVG for terminal url test)
 - rust-lang#146775 (fixes for numerous clippy warnings)
 - rust-lang#146784 ([win] Use find-msvc-tools instead of cc to find the linker and rc on Windows)
 - rust-lang#146799 (Fix a dangling reference in `rustc_thread_pool`)
 - rust-lang#146802 (mbe: Simplifications and refactoring)
 - rust-lang#146806 (add private module override re-export test)
 - rust-lang#146827 (Linker-plugin-based LTO: update list of good combinations (inc. beta + nightly))
 - rust-lang#146875 (tests/run-make/crate-loading: Rename source files for clarity)
 - rust-lang#146877 (prevent line number from being copied in chrome)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-compiletest Area: The compiletest test runner A-LLVM Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues. A-run-make Area: port run-make Makefiles to rmake.rs A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool merged-by-bors This PR was explicitly merged by bors. rollup A PR which is a rollup S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. 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. 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. 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.