Skip to content

Conversation

jhpratt
Copy link
Member

@jhpratt jhpratt commented Jul 21, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

RalfJung and others added 30 commits July 16, 2025 13:58
triagebot welcome message for new users
make native-lib support compile-time-optional, and centralize cfg usage
and ensure we don't unwind out of the "weird state" during tracing
move page protection logic inside native_lib
This test depends on the target-specific behavior of crt-static for musl
targets. However, running the testsuite on a musl host requires
setting `crt-static` to `false`, as it wouldn't otherwise be possible to
build rustc. This in turn will enable `-Ctarget-feature=-crt-static` for
all tests, mismatching the expected `+crt-static` for the musl target
tested in this testcase.

Since this test specifically tests the default value of `crt-static` for
the musl target, ignoring it entirely makes more sense than manually
setting `-Ctarget-feature=+crt-static` here, but both would be valid
approaches.

Signed-off-by: Jens Reidel <[email protected]>
add -Zmiri-no-extra-rounding-error to specifically disable just that part of float-nondet
jhpratt added 2 commits July 20, 2025 23:11
…ix, r=scottmcm

Option::as_slice: fix comment

The implementation got changed in rust-lang#117525 without updating the comment. Now the comment makes no sense any more since there is no intrinsic that returns a pointer in this function any more.

(It is also very strange to say "in the new version" in a comment -- what is that supposed to tell someone reading the code 2 years later? That wording was introduced even earlier, in rust-lang#109179.)

Cc `@GKFX` `@petrochenkov` `@llogiq` `@scottmcm`
Fix run-make tests on musl hosts

On musl hosts, we already set `-Ctarget-feature=-crt-static` and `IS_MUSL_HOST=1` in compiletest. However, in order for the run-make tests to compile fine on musl hosts, we need to propagate this flag in our rustc invocations to ensure we can generate cdylibs.
@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs 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. rollup A PR which is a rollup labels Jul 21, 2025
@jhpratt
Copy link
Member Author

jhpratt commented Jul 21, 2025

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Jul 21, 2025

📌 Commit f0da6e2 has been approved by jhpratt

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 Jul 21, 2025
@bors
Copy link
Collaborator

bors commented Jul 21, 2025

⌛ Testing commit f0da6e2 with merge 79dd0d1...

bors added a commit that referenced this pull request Jul 21, 2025
Rollup of 8 pull requests

Successful merges:

 - #144144 (tests: Skip supported-crate-types test on musl hosts)
 - #144159 (opt-dist: change build_dir field to be an actual build dir)
 - #144162 (Debug impls for DropElaborators)
 - #144189 (Add non-regression test for #144168)
 - #144216 (Don't consider unstable fields always-inhabited)
 - #144229 (Miri subtree update)
 - #144230 (Option::as_slice: fix comment)
 - #144235 (Fix run-make tests on musl hosts)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors
Copy link
Collaborator

bors commented Jul 21, 2025

💔 Test failed - checks-actions

@bors bors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jul 21, 2025
@jieyouxu
Copy link
Member

The CI runner couldn't find the way back to home 😔

The hosted runner lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.

@bors retry

@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 Jul 21, 2025
@bors
Copy link
Collaborator

bors commented Jul 21, 2025

⌛ Testing commit f0da6e2 with merge 6781992...

@jieyouxu
Copy link
Member

(Github is having issues atm)

@bors
Copy link
Collaborator

bors commented Jul 21, 2025

☀️ Test successful - checks-actions
Approved by: jhpratt
Pushing 6781992 to master...

@bors bors added the merged-by-bors This PR was explicitly merged by bors. label Jul 21, 2025
@bors bors merged commit 6781992 into rust-lang:master Jul 21, 2025
12 checks passed
@rustbot rustbot added this to the 1.90.0 milestone Jul 21, 2025
@jhpratt jhpratt deleted the rollup-xb8aida branch July 21, 2025 11:42
@rust-timer
Copy link
Collaborator

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#144144 tests: Skip supported-crate-types test on musl hosts 09df50bc080a994793a8519d26b5257554af047d (link)
#144159 opt-dist: change build_dir field to be an actual build dir 266a0e29f513782c998d975406c72f9392f250c4 (link)
#144162 Debug impls for DropElaborators 6f7f1945bd182e3a604060d296ff177daebc2fef (link)
#144189 Add non-regression test for #144168 37782b0e42ca8fb7ad92cb7f35e2952b1b4258ec (link)
#144216 Don't consider unstable fields always-inhabited 08b30f95d80cf68f2cd189061c6469759c0af474 (link)
#144229 Miri subtree update 948d70ad90f24808e759c1eb82eefac1713af938 (link)
#144230 Option::as_slice: fix comment 410dbd39d553c331ee19a3c616c98959280853ae (link)
#144235 Fix run-make tests on musl hosts 9a3f812673cf55bf8b24818793908bb7be952164 (link)

previous master: e05ab47e6c

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 e05ab47 (parent) -> 6781992 (this PR)

Test differences

Show 15 test diffs

Stage 1

  • [ui] tests/ui/resolve/underscore-bindings-disambiguators.rs: [missing] -> pass (J1)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs: [missing] -> pass (J1)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs#current: pass -> [missing] (J1)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs#exhaustive: pass -> [missing] (J1)

Stage 2

  • [ui] tests/ui/resolve/underscore-bindings-disambiguators.rs: [missing] -> pass (J0)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs: [missing] -> pass (J0)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs#current: pass -> [missing] (J0)
  • [ui] tests/ui/uninhabited/uninhabited-unstable-field.rs#exhaustive: pass -> [missing] (J0)
  • [ui] tests/ui/print-request/supported-crate-types.rs#linux: pass -> ignore (ignored when the target environment is musl) (J2)
  • [ui] tests/ui/print-request/supported-crate-types.rs#musl: pass -> ignore (ignored when the target environment is musl) (J2)
  • [ui] tests/ui/print-request/supported-crate-types.rs#wasm: pass -> ignore (ignored when the target environment is musl) (J2)

Additionally, 4 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 67819923ac8ea353aaa775303f4c3aacbf41d010 --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: 7985.1s -> 5703.4s (-28.6%)
  2. dist-apple-various: 5588.6s -> 7119.5s (27.4%)
  3. dist-x86_64-apple: 10890.5s -> 8418.1s (-22.7%)
  4. x86_64-apple-1: 8108.3s -> 9564.2s (18.0%)
  5. pr-check-2: 2600.1s -> 2144.0s (-17.5%)
  6. aarch64-apple: 5193.2s -> 4380.9s (-15.6%)
  7. pr-check-1: 1721.8s -> 1507.7s (-12.4%)
  8. x86_64-rust-for-linux: 2919.2s -> 2579.5s (-11.6%)
  9. i686-gnu-1: 8114.5s -> 7274.3s (-10.4%)
  10. x86_64-gnu-tools: 3643.1s -> 3300.8s (-9.4%)
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
Collaborator

Finished benchmarking commit (6781992): 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.3% [-0.4%, -0.3%] 6
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) -0.3% [-0.4%, -0.3%] 6

Max RSS (memory usage)

Results (secondary 5.1%)

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)
5.1% [4.1%, 7.4%] 5
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
- - 0
All ❌✅ (primary) - - 0

Cycles

Results (primary 2.8%, secondary 1.8%)

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

mean range count
Regressions ❌
(primary)
2.8% [2.8%, 2.8%] 1
Regressions ❌
(secondary)
2.9% [2.4%, 3.6%] 3
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-1.6% [-1.6%, -1.6%] 1
All ❌✅ (primary) 2.8% [2.8%, 2.8%] 1

Binary size

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

Bootstrap: 466.006s -> 465.321s (-0.15%)
Artifact size: 374.60 MiB -> 374.50 MiB (-0.03%)

Muscraft pushed a commit to Muscraft/rust that referenced this pull request Jul 21, 2025
Rollup of 8 pull requests

Successful merges:

 - rust-lang#144144 (tests: Skip supported-crate-types test on musl hosts)
 - rust-lang#144159 (opt-dist: change build_dir field to be an actual build dir)
 - rust-lang#144162 (Debug impls for DropElaborators)
 - rust-lang#144189 (Add non-regression test for rust-lang#144168)
 - rust-lang#144216 (Don't consider unstable fields always-inhabited)
 - rust-lang#144229 (Miri subtree update)
 - rust-lang#144230 (Option::as_slice: fix comment)
 - rust-lang#144235 (Fix run-make tests on musl hosts)

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-run-make Area: port run-make Makefiles to rmake.rs 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-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.