Skip to content

Conversation

matthiaskrgr
Copy link
Member

@matthiaskrgr matthiaskrgr commented Sep 27, 2025

Successful merges:

r? @ghost
@rustbot modify labels: rollup

Create a similar rollup

aapoalas and others added 24 commits September 15, 2025 20:23
LLVM 22 is able to drop assumes that seem to not help further
optimizations, which actually seems to dramatically _help_ further
optimizations in some of our small test cases.
This changed in upstream change a5569b4bd7f8.

@rustbot label llvm-main
otherwise a buildroot containing `libpanic_abort` would be mangled before being
replaced by the build root placeholder value..

e.g., running `./x.py test --verbose tests/run-make/linker-warning` with rustc
checked out in ~/ext/rustc-libpanic_abort will result in (output slightly shortened):

```
running 1 tests
test [run-make] tests/run-make/linker-warning ... FAILED

failures:

---- [run-make] tests/run-make/linker-warning stdout ----

------rustc stdout------------------------------

------rustc stderr------------------------------

------------------------------------------

error: rmake recipe failed to complete
status: exit status: 101
command: cd "/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out" && env -u RUSTFLAGS -u __RUSTC_DEBUG_ASSERTIONS_ENABLED -u __STD_DEBUG_ASSERTIONS_ENABLED AR="ar" BUILD_ROOT="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RUSTC_DYLIB_PATH="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/stage1/lib" LD_LIBRARY_PATH="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/ci-llvm/bin" LLVM_COMPONENTS="<...>" LLVM_FILECHECK="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTDOC="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc" SOURCE_ROOT="/home/user/ext/rustc-libpanic_abort" TARGET="x86_64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/user/ext/rustc-libpanic_abort/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /home/user/ext/rustc-libpanic_abort/tests/run-make/linker-warning/rmake.rs:74:14:
test failed: `short-error.txt` is different from `(linker error)`

--- short-error.txt
+++ (linker error)
@@ -1,6 +1,6 @@
 error: linking with `./fake-linker` failed: exit status: 1
   |
-  = note:  "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build-root/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
+  = note:  "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/user/ext/rustc-libpanic_unwind/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/user/ext/rustc-libpanic_unwind/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
   = note: some arguments are omitted. use `--verbose` to show all linker arguments
   = note: error: baz

[..]
```

without this fix.

Signed-off-by: Fabian Grünbichler <[email protected]>
… r=tmandry

Introduce CoerceShared lang item and trait, and basic Reborrow tests

Part of rust-lang#145612: This introduces the `CoerceShared` trait which is the `Reborrow` equivalent of a `&mut T` -> `&T` coercion. The trait has a `Target` GAT which makes this (currently) unique in the `core/src/marker.rs`; I'm not sure if this can be considered problematic. Maybe this is not the way such things should be done at the marker trait level? Or maybe it is fine.

Improtantly, this PR introduces a battery of basic `Reborrow` and `CoerceShared` tests. These test the very basics of the feature; custom marker types intended to have exclusive semantics (`Custom<'a>(PhantomData<&'a mut ()>)`), custom exclusive reference wrappers, and standard library exclusive reference wrappers (`Pin<&mut T>` and `Option<&mut T>`). None of these of course work since the implementation for `Reborrow` and `CoerceShared` is entirely missing, but this is the first step towards making these work.

Future PRs will introduce more tests, such as "recursive" reborrowing (ie. reborrowing structs that contain multiple reborrowable fields) and checks around the lifetime semantics of reborrowing ie. that a reborrow produces a new type with the same lifetime as the original.
tests: relax expectations after llvm change 902ddda120a5

LLVM 22 is able to drop assumes that seem to not help further optimizations, which actually seems to dramatically _help_ further optimizations in some of our small test cases.

I'm a little unclear how to fix the last failure, in `tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs`:

```
-; Function Attrs: mustprogress nofree norecurse nosync nounwind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
+; Function Attrs: mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
 define void ``@update(ptr`` noundef captures(none) %s) unnamed_addr #0 {
 start:
-  %_3.sroa.0.0.copyload = load i8, ptr %s, align 1
-  %0 = trunc nuw i8 %_3.sroa.0.0.copyload to i1
-  %1 = xor i1 %0, true
-  tail call void ``@llvm.assume(i1`` %1)
   store i8 1, ptr %s, align 1
   ret void
 }
```

I'm just not conversant enough in LLVM IR to follow the changes here.

``@rustbot`` label llvm-main
r? nikic
…warning-test-normalization, r=jieyouxu

re-order normalizations in run-make linker-warning test

otherwise a buildroot containing `rustc[^/_-]*` or `libpanic_abort` would be mangled before being replaced by the build root placeholder value..

e.g., running `./x.py test --verbose tests/run-make/linker-warning` with rustc checked out in ~/ext/rustcfoobar will result in

```
running 1 tests
test [run-make] tests/run-make/linker-warning ... FAILED

failures:

---- [run-make] tests/run-make/linker-warning stdout ----

------rustc stdout------------------------------

------rustc stderr------------------------------

------------------------------------------

error: rmake recipe failed to complete
status: exit status: 101
command: cd "/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out" && env -u RUSTFLAGS -u __RUSTC_DEBUG_ASSERTIONS_ENABLED -u __STD_DEBUG_ASSERTIONS_ENABLED AR="ar" BUILD_ROOT="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu" CC="cc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" CXX="c++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -m64" HOST_RUSTC_DYLIB_PATH="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/stage1/lib" LD_LIBRARY_PATH="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/bootstrap-tools/x86_64-unknown-linux-gnu/release/deps:/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" LD_LIB_PATH_ENVVAR="LD_LIBRARY_PATH" LLVM_BIN_DIR="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/ci-llvm/bin" LLVM_COMPONENTS="<..>" LLVM_FILECHECK="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" NODE="/usr/bin/node" PYTHON="/usr/bin/python3" RUSTC="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/stage1/bin/rustc" RUSTDOC="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/stage1/bin/rustdoc" SOURCE_ROOT="/home/user/ext/rustcfoobar" TARGET="x86_64-unknown-linux-gnu" TARGET_EXE_DYLIB_PATH="/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/stage1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/home/user/ext/rustcfoobar/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake"
stdout: none
--- stderr -------------------------------

thread 'main' panicked at /home/user/ext/rustcfoobar/tests/run-make/linker-warning/rmake.rs:74:14:
test failed: `short-error.txt` is different from `(linker error)`

--- short-error.txt
+++ (linker error)
``@@`` -1,6 +1,6 ``@@``
 error: linking with `./fake-linker` failed: exit status: 1
   |
-  = note:  "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/build-root/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/build-root/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
+  = note:  "./fake-linker" "-m64" "/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/home/user/ext/rustc/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out/{libfoo,libbar}.rlib" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/home/user/ext/rustc/build/x86_64-unknown-linux-gnu/test/run-make/linker-warning/rmake_out" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "main" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" "run_make_error"
   = note: some arguments are omitted. use `--verbose` to show all linker arguments
   = note: error: baz

[..]
```

without this fix.

Note: this affected Debian's automated builds, since the buildroot contains the package name and version. while that particular issue got fixed in the meantime by accident by making the RE more strict in 77232fb , other buildroot paths are still affected without a full fix.
…tion-time-display, r=lolbinarycat

Fix doctest compilation time display

Fixes rust-lang#146960.

Small corner case that happened in case everything went fine and there was only merged doctests.

r? lolbinarycat
Rename `rust.use-lld` to `rust.bootstrap-override-lld`

First part of rust-lang#146640. The old option is kept for backwards compatibility, we can remove it in ~6 months, as usually.

I'm not sure if the bootstrap prefix is ideal, after all we have a bunch of other configs that only affect bootstrap's behavior and not the built artifacts. Maybe `build.override-lld`? But I don't think it matters that much, as long as it's clear that it is an override, and how does it differ from `rust.lld`.

r? ``@jieyouxu``
…r=cuviper

PassWrapper: update for new PGOOptions args in LLVM 22

This changed in upstream change llvm/llvm-project@a5569b4.

``@rustbot`` label llvm-main
…etrochenkov

Make `def_path_hash_to_def_id` not panic when passed an invalid hash

I'm using this function in a third-party application (Creusot) to access private items (by reverse engineering their hash). This works in the happy path, but it panics when an item does not exist. There is no way to hack it downstream because the hook `def_path_hash_to_def_id_extern` must always return a `DefId` and its implementation uses `def_path_hash_to_def_index` which is internal and which is where the panic happens.
…issue, r=tgross35

update issue number for more_float_constants

Update issue number from rust-lang#103883 to rust-lang#146939

r? ``@tgross35``
@rustbot rustbot added A-CI Area: Our Github Actions CI 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 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) labels Sep 27, 2025
@rustbot rustbot added T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. T-infra Relevant to the infrastructure 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. rollup A PR which is a rollup labels Sep 27, 2025
@matthiaskrgr
Copy link
Member Author

@bors r+ rollup=never p=5

@bors
Copy link
Collaborator

bors commented Sep 27, 2025

📌 Commit bd2e186 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 27, 2025
@bors
Copy link
Collaborator

bors commented Sep 27, 2025

⌛ Testing commit bd2e186 with merge 848e674...

@bors
Copy link
Collaborator

bors commented Sep 28, 2025

☀️ Test successful - checks-actions
Approved by: matthiaskrgr
Pushing 848e674 to master...

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

📌 Perf builds for each rolled up PR:

PR# Message Perf Build Sha
#146037 Introduce CoerceShared lang item and trait, and basic Rebor… 2bd147ab2868ab6516a54fe73410842c9e6d6dee (link)
#146732 tests: relax expectations after llvm change 902ddda120a5 1a0736929195ae77b6f78de1747d5dc732f933d3 (link)
#147018 re-order normalizations in run-make linker-warning test 6dbb4a1fa9b0eefdf38fa985e75d482ec9908bf3 (link)
#147032 Fix doctest compilation time display d14eabd45aa3a3d66ae9cd1f3355494e687c13ad (link)
#147046 Rename rust.use-lld to rust.bootstrap-override-lld 90e041d940570bbac611557e1cd18ac181cce765 (link)
#147050 PassWrapper: update for new PGOOptions args in LLVM 22 b3f955634bf0deecd655588d6bab235b619fb690 (link)
#147075 Make def_path_hash_to_def_id not panic when passed an inv… 011710c64541a5c62da2c9360332c71e0978e2a5 (link)
#147076 update issue number for more_float_constants 381e1870afe297c1f4e1eb645907e400b0f62e39 (link)

previous master: 4082d6a3f0

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 4082d6a (parent) -> 848e674 (this PR)

Test differences

Show 45 test diffs

Stage 1

  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs: pass -> [missing] (J3)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J3)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#old: [missing] -> pass (J3)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs: pass -> [missing] (J3)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J3)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#old: [missing] -> pass (J3)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs: pass -> [missing] (J3)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J3)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#old: [missing] -> pass (J3)
  • [run-make] tests/run-make/doctests-compilation-time-info: [missing] -> pass (J3)
  • [ui] tests/ui/feature-gates/feature-gate-reborrow-coerce-shared.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/custom_mut.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/custom_mut_coerce_shared.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/option_mut.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/option_mut_coerce_shared.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/pin_mut.rs: [missing] -> pass (J3)
  • [ui] tests/ui/reborrow/pin_mut_coerce_shared.rs: [missing] -> pass (J3)

Stage 2

  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J0)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J0)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.2 is older than 22.0.0) (J0)
  • [ui] tests/ui/feature-gates/feature-gate-reborrow-coerce-shared.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/custom_mut.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/custom_mut_coerce_shared.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/option_mut.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/option_mut_coerce_shared.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/pin_mut.rs: [missing] -> pass (J1)
  • [ui] tests/ui/reborrow/pin_mut_coerce_shared.rs: [missing] -> pass (J1)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#new: [missing] -> ignore (ignored when the LLVM version 21.1.2 is older than 22.0.0) (J2)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#new: [missing] -> ignore (ignored when the LLVM version 21.1.2 is older than 22.0.0) (J2)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#new: [missing] -> ignore (ignored when the LLVM version 21.1.2 is older than 22.0.0) (J2)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs: pass -> [missing] (J4)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#old: [missing] -> pass (J4)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs: pass -> [missing] (J4)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#old: [missing] -> pass (J4)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs: pass -> [missing] (J4)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#old: [missing] -> pass (J4)
  • [codegen] tests/codegen-llvm/issues/issue-122600-ptr-discriminant-update.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.8 is older than 22.0.0) (J5)
  • [codegen] tests/codegen-llvm/vec_pop_push_noop.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.8 is older than 22.0.0) (J5)
  • [codegen] tests/codegen-llvm/vecdeque_pop_push.rs#new: [missing] -> ignore (ignored when the LLVM version 20.1.8 is older than 22.0.0) (J5)
  • [run-make] tests/run-make/doctests-compilation-time-info: [missing] -> pass (J6)
  • [run-make] tests/run-make/doctests-compilation-time-info: [missing] -> ignore (ignored when cross-compiling ((needs to run doctests))) (J7)

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 848e6746fe03dfd703075c5077312b63877d51d6 --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-apple-various: 3392.3s -> 4821.2s (42.1%)
  2. dist-various-1: 3637.7s -> 4141.2s (13.8%)
  3. tidy: 170.4s -> 189.3s (11.1%)
  4. dist-x86_64-netbsd: 4582.2s -> 5086.7s (11.0%)
  5. i686-gnu-2: 5421.1s -> 5954.9s (9.8%)
  6. dist-x86_64-freebsd: 4694.3s -> 5153.3s (9.8%)
  7. pr-check-2: 2375.8s -> 2588.3s (8.9%)
  8. dist-armv7-linux: 4866.8s -> 5298.1s (8.9%)
  9. aarch64-gnu-llvm-20-1: 3230.3s -> 3498.6s (8.3%)
  10. dist-x86_64-linux-alt: 8805.2s -> 8129.9s (-7.7%)
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 (848e674): comparison URL.

Overall result: no relevant changes - no action needed

@rustbot label: -perf-regression

Instruction count

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

Max RSS (memory usage)

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

Cycles

Results (secondary -1.7%)

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.7% [3.7%, 3.7%] 1
Improvements ✅
(primary)
- - 0
Improvements ✅
(secondary)
-7.0% [-7.0%, -7.0%] 1
All ❌✅ (primary) - - 0

Binary size

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

Bootstrap: 470.544s -> 471.059s (0.11%)
Artifact size: 388.12 MiB -> 388.15 MiB (0.01%)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CI Area: Our Github Actions CI 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 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-infra Relevant to the infrastructure 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.