Skip to content

Rollup of 10 pull requests#157246

Closed
JonathanBrouwer wants to merge 33 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-4phWmMI
Closed

Rollup of 10 pull requests#157246
JonathanBrouwer wants to merge 33 commits into
rust-lang:mainfrom
JonathanBrouwer:rollup-4phWmMI

Conversation

@JonathanBrouwer
Copy link
Copy Markdown
Contributor

Successful merges:

r? @ghost

Create a similar rollup

lms0806 and others added 30 commits May 18, 2026 14:39
As preparation for turning #[panic_handler] from a weak lang item into
an EII.
This is one of the things that made cg_clif not use cg_ssa, IIRC, so let's take the opportunities to avoid it where we can.
…hlin

miri: require (almost) all 1-ZST arguments to be actually passed

We can't ignore *all* of them since the compiler itself relies on non-capturing closure arguments being ignored.

Fixes rust-lang/miri#4993

Cc @folkertdev since it also changes the checks for variadics.
…=jdonszelmann

Check arguments of attributes where no arguments are expected

This PR does the following:
- Add a debug assertion to `rustc_attr_parsing`, to ensure we never forget to check the arguments of a meta item again
- Removes the unused `#[derive(Clone)]` from `ArgParser` as that would break this debug assertion
- **[BREAKING]** Properly check that `#[inline(always(...))]` gets no arguments
- **[BREAKING]** Properly check that `#[instruction_set(arm::a32(...))]` gets no arguments
- **[BREAKING]** Properly check that `#[macro_export(local_inner_macros(...))]` gets no arguments.
  Fixes rust-lang#154977
- **[BREAKING]** Properly check that `#[used(compiler(...))]` gets no arguments.
- Properly check that `#[optimize(size(...))]` gets no arguments.
- Properly check that `#[coverage(on(...))]` gets no arguments.
- Properly check that `#[rustc_dump_layout(debug(...))]` gets no arguments.
- Properly check that `#[rustc_abi(debug(...))]` gets no arguments.
- Properly check that `#![test_runner(arg(...))]` gets no arguments.
- Properly check that `#[rustc_must_implement_one_of(arg(...))]` gets no arguments.
- Properly check that `#[allow_internal_unstable(arg(...))]` gets no arguments.
- Properly check that `#[unstable_feature_bound(arg(...))]` gets no arguments.
- Properly check that `#[rustc_allow_const_fn_unstable(arg(...))]` gets no arguments.
- Properly check that `#[rustc_if_this_changed(arg(...))]` gets no arguments.
- Properly check that `#[rustc_then_this_would_need(arg(...))]` gets no arguments.

r? @jdonszelmann
…=petrochenkov

Promotes 5 Thumb-mode bare-metal Arm targets to Tier 2

This PR promotes five Thumb-mode bare-metal Arm targets to Tier 2, joining their Arm-mode counterparts which are already Tier 2:

| Thumb-mode target (Tier 3 → Tier 2) | Arm-mode counterpart (already Tier 2) |
|:---|:---|
| `thumbv7a-none-eabi` | `armv7a-none-eabi` |
| `thumbv7a-none-eabihf` | `armv7a-none-eabihf` |
| `thumbv7r-none-eabi` | `armv7r-none-eabi` |
| `thumbv7r-none-eabihf` | `armv7r-none-eabihf` |
| `thumbv8r-none-eabihf` | `armv8r-none-eabihf` |

Note: There is no `thumbv8r-none-eabi` target because the Cortex-R52 processor always includes an FPU, making a soft-float ABI variant unnecessary.

These Thumb-mode targets generate T32 code by default while their Arm-mode counterparts generate A32 code. They share the same LLVM backend, ABI, and data layout — the only spec differences are the `llvm_target` string and the description.

See rust-lang/compiler-team#985
…acrum

Resolving Windows environment test failures

This resolves an issue where the `fs::tests::test_fs_set_times follows symlink` and `fs::tests::test_fs_set_times_nofollow` tests failed locally due to permission issues in a Windows environment.

The code has been modified so that these tests do not proceed if permissions are not granted.

Since these tests can be passed with the necessary permissions via CI before merging, I believe it is appropriate for them to pass locally due to permission issues rather than fail.

Close rust-lang#156558
…dows-clone, r=Mark-Simulacrum

Don't drop uninit memory when `MapWindows::clone` panics

Fixes rust-lang#156501, using the approach suggested in @bjorn3's comment rust-lang#156517 (comment)
…ts, r=jdonszelmann

Add `#[unsafe_eii]` to unsafe EII UI tests

Tracking issue: rust-lang#125418

Add UI test coverage for unsafe implementations of declarations created with `#[unsafe_eii]`.
…mann

Use #[panic_handler] rather than #[lang = "panic_impl"]

As preparation for turning #[panic_handler] from a weak lang item into an EII.

r? @jdonszelmann
…dianqk

cg_ssa: a bit less `immediate_or_packed_pair`

This is one of the things that made cg_clif not use cg_ssa, IIRC, so let's take the opportunities to avoid it where we can.

r? codegen
…ation-fix, r=petrochenkov

Trace `?id.local_def_index` instead of `id` in `def_path_hash`

Trace `local_def_index` instead of `LocalDefId` in `def_path_hash`, as latter causes errors (previous version of this function accepted `DefIndex`).

Fixes rust-lang#157238.
r? @petrochenkov
…ges, r=Urgau

Tune backport Zulip messages

Asked in triagebot#2407

In the zulip message that opens a backport poll, adds a suggestion about the correct triagebot syntax to approve/decline a backport to avoid ambiguity and typos

Thanks for a review

r? @Urgau
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Jun 1, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-meta Area: Issues & PRs about the rust-lang/rust repository itself 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-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. labels Jun 1, 2026
@JonathanBrouwer
Copy link
Copy Markdown
Contributor Author

@bors r+ rollup=never p=5

Trying commonly failed jobs
@bors try jobs=dist-various-1,test-various,x86_64-gnu-aux,x86_64-gnu-llvm-21-3,x86_64-msvc-1,aarch64-apple,x86_64-mingw-1,i686-msvc-2

@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Jun 1, 2026

📌 Commit 6bd955d has been approved by JonathanBrouwer

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 Jun 1, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Jun 1, 2026
Rollup of 10 pull requests


try-job: dist-various-1
try-job: test-various
try-job: x86_64-gnu-aux
try-job: x86_64-gnu-llvm-21-3
try-job: x86_64-msvc-1
try-job: aarch64-apple
try-job: x86_64-mingw-1
try-job: i686-msvc-2
@rust-log-analyzer
Copy link
Copy Markdown
Collaborator

The job dist-various-1 failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
DirectMap4k:      150656 kB
DirectMap2M:     7184384 kB
DirectMap1G:    11534336 kB
##[endgroup]
Executing python3 ../x.py --stage 2 test --host= --target thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf tests/run-make tests/run-make-cargo &&       python3 ../x.py dist --host= --target wasm32-unknown-emscripten,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-none,aarch64-unknown-none-softfloat,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,thumbv8m.base-none-eabi,thumbv8m.main-none-eabi,thumbv8m.main-none-eabihf,riscv32i-unknown-none-elf,riscv32im-unknown-none-elf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf,riscv64imac-unknown-none-elf,riscv64gc-unknown-none-elf,armv7r-none-eabi,thumbv7r-none-eabi,armv7r-none-eabihf,thumbv7r-none-eabihf,armv8r-none-eabihf,thumbv8r-none-eabihf,thumbv7neon-unknown-linux-gnueabihf,armv7a-none-eabi,thumbv7a-none-eabi,armv7a-none-eabihf,thumbv7a-none-eabihf
+ python3 ../x.py --stage 2 test --host= --target thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf tests/run-make tests/run-make-cargo
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.06s
##[endgroup]
downloading https://static.rust-lang.org/dist/2026-05-31/rustfmt-nightly-x86_64-unknown-linux-gnu.tar.xz
---
##[endgroup]
[TIMING:end] test::Compiletest { test_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: thumbv7em-none-eabihf, mode: run-make, suite: "run-make-cargo", path: "tests/run-make-cargo", compare_mode: None } -- 54.328
[TIMING:end] test::RunMakeCargo { test_compiler: Compiler { stage: 2, host: x86_64-unknown-linux-gnu, forced_compiler: false }, target: thumbv7em-none-eabihf } -- 0.000
Build completed successfully in 0:56:10
+ python3 ../x.py dist --host= --target wasm32-unknown-emscripten,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-none,aarch64-unknown-none-softfloat,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,thumbv8m.base-none-eabi,thumbv8m.main-none-eabi,thumbv8m.main-none-eabihf,riscv32i-unknown-none-elf,riscv32im-unknown-none-elf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf,riscv64imac-unknown-none-elf,riscv64gc-unknown-none-elf,armv7r-none-eabi,thumbv7r-none-eabi,armv7r-none-eabihf,thumbv7r-none-eabihf,armv8r-none-eabihf,thumbv8r-none-eabihf,thumbv7neon-unknown-linux-gnueabihf,armv7a-none-eabi,thumbv7a-none-eabi,armv7a-none-eabihf,thumbv7a-none-eabihf
##[group]Building bootstrap
    Finished `dev` profile [unoptimized] target(s) in 0.11s
##[endgroup]
cargo:warning=Compiler family detection failed due to error: ToolNotFound: failed to find tool "arm-linux-musleabihf-g++": No such file or directory (os error 2)
cargo:warning=Compiler family detection failed due to error: ToolNotFound: failed to find tool "arm-linux-musleabihf-g++": No such file or directory (os error 2)
---

Caused by:
  process didn't exit successfully: `/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/dist/build/compiler_builtins-7275cb9ad4c72c0d/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=LIBM_BUILD_VERBOSE
  cargo::rerun-if-changed=build.rs
  cargo::rerun-if-changed=../libm/configure.rs
  cargo:rustc-check-cfg=cfg(thumb)
  cargo:rustc-cfg=thumb
  cargo:rustc-check-cfg=cfg(thumb_1)
  cargo:rustc-check-cfg=cfg(x86_no_sse2)
  cargo:rustc-check-cfg=cfg(assert_no_panic)
  cargo:rustc-check-cfg=cfg(intrinsics_enabled)
  cargo:rustc-cfg=intrinsics_enabled
  cargo:rustc-check-cfg=cfg(optimizations_enabled)
  cargo:rustc-cfg=optimizations_enabled
  cargo:rustc-check-cfg=cfg(f16_enabled)
  cargo:rustc-cfg=f16_enabled
  cargo:rustc-check-cfg=cfg(f128_enabled)
  cargo:rustc-cfg=f128_enabled
  cargo::rustc-check-cfg=cfg(__ashldi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashlsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashrdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__ashrsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapsi2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapdi2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__bswapti2, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmoddi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__divmodti4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__lshrdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__lshrsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__moddi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__modsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__muldi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivdi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivmoddi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivmodsi4, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__udivsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__umoddi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__umodsi3, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_cas16_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldadd8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldclr8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldeor8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_ldset8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp1_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp2_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp4_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_relax, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(__aarch64_swp8_acq_rel, values("optimized-c"))
  cargo::rustc-check-cfg=cfg(target_feature, values("vis3"))
  cargo:compiler-rt=/checkout/library/compiler-builtins/compiler-builtins/compiler-rt
  cargo:rustc-cfg=feature="mem"
  cargo:rustc-check-cfg=cfg(mem_unaligned)
  cargo:rustc-check-cfg=cfg(kernel_user_helpers)
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c
  cargo:rustc-cfg=__absvdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvsi2.c
  cargo:rustc-cfg=__absvsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/absvti2.c
  cargo:rustc-cfg=__absvti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvdi3.c
  cargo:rustc-cfg=__addvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvsi3.c
  cargo:rustc-cfg=__addvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/addvti3.c
  cargo:rustc-cfg=__addvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_cdcmp.S
  cargo:rustc-cfg=__aeabi_cdcmp="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_cdcmpeq_check_nan.c
  cargo:rustc-cfg=__aeabi_cdcmpeq_check_nan="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_cfcmp.S
  cargo:rustc-cfg=__aeabi_cfcmp="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_cfcmpeq_check_nan.c
  cargo:rustc-cfg=__aeabi_cfcmpeq_check_nan="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_div0.c
  cargo:rustc-cfg=__aeabi_div0="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_drsub.c
  cargo:rustc-cfg=__aeabi_drsub="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/aeabi_frsub.c
  cargo:rustc-cfg=__aeabi_frsub="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/bswapdi2.S
  cargo:rustc-cfg=__bswapdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/bswapsi2.S
  cargo:rustc-cfg=__bswapsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpdi2.c
  cargo:rustc-cfg=__cmpdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/cmpti2.c
  cargo:rustc-cfg=__cmpti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/divdc3.c
  cargo:rustc-cfg=__divdc3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/divmodsi4.S
  cargo:rustc-cfg=__divmodsi4="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/divsc3.c
  cargo:rustc-cfg=__divsc3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/divsi3.S
  cargo:rustc-cfg=__divsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ffsti2.c
  cargo:rustc-cfg=__ffsti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/int_util.c
  cargo:rustc-cfg=__int_util="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/modsi3.S
  cargo:rustc-cfg=__modsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/muldc3.c
  cargo:rustc-cfg=__muldc3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulsc3.c
  cargo:rustc-cfg=__mulsc3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvdi3.c
  cargo:rustc-cfg=__mulvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvsi3.c
  cargo:rustc-cfg=__mulvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/mulvti3.c
  cargo:rustc-cfg=__mulvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdf2.c
  cargo:rustc-cfg=__negdf2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negdi2.c
  cargo:rustc-cfg=__negdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negsf2.c
  cargo:rustc-cfg=__negsf2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negti2.c
  cargo:rustc-cfg=__negti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvdi2.c
  cargo:rustc-cfg=__negvdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvsi2.c
  cargo:rustc-cfg=__negvsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/negvti2.c
  cargo:rustc-cfg=__negvti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritydi2.c
  cargo:rustc-cfg=__paritydi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/paritysi2.c
  cargo:rustc-cfg=__paritysi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/parityti2.c
  cargo:rustc-cfg=__parityti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountdi2.c
  cargo:rustc-cfg=__popcountdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountsi2.c
  cargo:rustc-cfg=__popcountsi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/popcountti2.c
  cargo:rustc-cfg=__popcountti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvdi3.c
  cargo:rustc-cfg=__subvdi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvsi3.c
  cargo:rustc-cfg=__subvsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/subvti3.c
  cargo:rustc-cfg=__subvti3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/switch16.S
  cargo:rustc-cfg=__switch16="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/switch32.S
  cargo:rustc-cfg=__switch32="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/switch8.S
  cargo:rustc-cfg=__switch8="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/switchu8.S
  cargo:rustc-cfg=__switchu8="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/sync_synchronize.S
  cargo:rustc-cfg=__sync_synchronize="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpdi2.c
  cargo:rustc-cfg=__ucmpdi2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/ucmpti2.c
  cargo:rustc-cfg=__ucmpti2="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/udivmodsi4.S
  cargo:rustc-cfg=__udivmodsi4="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/udivsi3.S
  cargo:rustc-cfg=__udivsi3="optimized-c"
  cargo:rerun-if-changed=/checkout/src/llvm-project/compiler-rt/lib/builtins/arm/umodsi3.S
  cargo:rustc-cfg=__umodsi3="optimized-c"
  OUT_DIR = Some(/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/thumbv7r-none-eabi/dist/build/compiler_builtins-b6b740557a17fb79/out)
  OPT_LEVEL = Some(3)
  TARGET = Some(thumbv7r-none-eabi)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CC_thumbv7r-none-eabi
  CC_thumbv7r-none-eabi = None
  cargo:rerun-if-env-changed=CC_thumbv7r_none_eabi
  CC_thumbv7r_none_eabi = Some(sccache cc)
  cargo:rerun-if-env-changed=CC_KNOWN_WRAPPER_CUSTOM
  CC_KNOWN_WRAPPER_CUSTOM = None
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some(true)
  CARGO_CFG_TARGET_FEATURE = Some(dsp,rclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r-none-eabi
  CFLAGS_thumbv7r-none-eabi = None
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r_none_eabi
  CFLAGS_thumbv7r_none_eabi = Some()
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  OUT_DIR = Some(/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/thumbv7r-none-eabi/dist/build/compiler_builtins-b6b740557a17fb79/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(thumbv7r-none-eabi)
  CARGO_CFG_TARGET_FEATURE = Some(dsp,rclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r-none-eabi
  CFLAGS_thumbv7r-none-eabi = None
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r_none_eabi
  CFLAGS_thumbv7r_none_eabi = Some()
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  OUT_DIR = Some(/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/thumbv7r-none-eabi/dist/build/compiler_builtins-b6b740557a17fb79/out)
  cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
  cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
  CRATE_CC_NO_DEFAULTS = None
  TARGET = Some(thumbv7r-none-eabi)
  CARGO_CFG_TARGET_FEATURE = Some(dsp,rclass,thumb-mode,thumb2,v5te,v6,v6k,v6t2,v7)
  HOST = Some(x86_64-unknown-linux-gnu)
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r-none-eabi
  CFLAGS_thumbv7r-none-eabi = None
  cargo:rerun-if-env-changed=CFLAGS_thumbv7r_none_eabi
  CFLAGS_thumbv7r_none_eabi = Some()
  cargo:rerun-if-env-changed=CC_SHELL_ESCAPED_FLAGS
  CC_SHELL_ESCAPED_FLAGS = None
  cargo:warning=cc: error: unrecognized command-line option ‘-mthumb’

  --- stderr


  error occurred: Command "sccache" "cc" "-O3" "-ffunction-sections" "-fdata-sections" "-g" "-fno-omit-frame-pointer" "-mthumb" "-fno-builtin" "-fvisibility=hidden" "-ffreestanding" "-Werror=implicit-function-declaration" "-DCOMPILER_RT_HAS_FLOAT16" "-DVISIBILITY_HIDDEN" "-o" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-std/thumbv7r-none-eabi/dist/build/compiler_builtins-b6b740557a17fb79/out/45c91108d938afe8-absvdi2.o" "-c" "/checkout/src/llvm-project/compiler-rt/lib/builtins/absvdi2.c" with args cc did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
[RUSTC-TIMING] core test:false 19.242
Bootstrap failed while executing `dist --host= --target wasm32-unknown-emscripten,arm-unknown-linux-musleabi,arm-unknown-linux-musleabihf,armv5te-unknown-linux-gnueabi,armv5te-unknown-linux-musleabi,armv7-unknown-linux-musleabihf,aarch64-unknown-none,aarch64-unknown-none-softfloat,sparc64-unknown-linux-gnu,x86_64-unknown-redox,thumbv6m-none-eabi,thumbv7m-none-eabi,thumbv7em-none-eabi,thumbv7em-none-eabihf,thumbv8m.base-none-eabi,thumbv8m.main-none-eabi,thumbv8m.main-none-eabihf,riscv32i-unknown-none-elf,riscv32im-unknown-none-elf,riscv32imc-unknown-none-elf,riscv32imac-unknown-none-elf,riscv32imafc-unknown-none-elf,riscv64imac-unknown-none-elf,riscv64gc-unknown-none-elf,armv7r-none-eabi,thumbv7r-none-eabi,armv7r-none-eabihf,thumbv7r-none-eabihf,armv8r-none-eabihf,thumbv8r-none-eabihf,thumbv7neon-unknown-linux-gnueabihf,armv7a-none-eabi,thumbv7a-none-eabi,armv7a-none-eabihf,thumbv7a-none-eabihf`
Build completed unsuccessfully in 0:17:13
  local time: Mon Jun  1 14:06:35 UTC 2026
  network time: Mon, 01 Jun 2026 14:06:35 GMT
##[error]Process completed with exit code 1.
##[group]Run echo "disk usage:"

@rust-bors rust-bors Bot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Jun 1, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Jun 1, 2026

PR #155763, which is a member of this rollup, was unapproved.

This rollup was thus unapproved.

@rustbot rustbot removed the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 1, 2026
@rust-bors rust-bors Bot added the S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. label Jun 1, 2026
@rust-bors
Copy link
Copy Markdown
Contributor

rust-bors Bot commented Jun 1, 2026

💔 Test for 3b5f9c3 failed: CI. Failed job:

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

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-CI Area: Our Github Actions CI A-meta Area: Issues & PRs about the rust-lang/rust repository itself A-testsuite Area: The testsuite used to check the correctness of rustc rollup A PR which is a rollup S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.