Skip to content

Rollup of 5 pull requests - #162056

Closed
Zalathar wants to merge 12 commits into
rust-lang:mainfrom
Zalathar:rollup-sxlc6BA
Closed

Rollup of 5 pull requests#162056
Zalathar wants to merge 12 commits into
rust-lang:mainfrom
Zalathar:rollup-sxlc6BA

Conversation

@Zalathar

Copy link
Copy Markdown
Member

Successful merges:

r? @ghost

Create a similar rollup

jackh726 and others added 12 commits August 24, 2026 18:52
document some rustc_dump attributes

r? @fmease I think you're the most familiar with these at this time?
…est, r=petrochenkov

Add test for parallel compiler reproducible build

Adds a test for reproducible binaries when using parallel compiler.

Confirmed with bisection and manual testing that rust-lang#144722 fixed rust-lang#140413, added test fails before commit (075ce31) from rust-lang#144722.
```rust
********************************************************************************
Regression in nightly-2025-08-14
********************************************************************************

fetching https://static.rust-lang.org/dist/2025-08-13/channel-rust-nightly-git-commit-hash.txt
nightly manifest 2025-08-13: 40 B / 40 B [============================================================================================================================================================================] 100.00 % 357.18 KB/s converted 2025-08-13 to 8e62bfd
fetching https://static.rust-lang.org/dist/2025-08-14/channel-rust-nightly-git-commit-hash.txt
nightly manifest 2025-08-14: 40 B / 40 B [============================================================================================================================================================================] 100.00 % 123.86 KB/s converted 2025-08-14 to 3672a55
looking for regression commit between 2025-08-13 and 2025-08-14
fetching (via remote github) commits from max(8e62bfd, 2025-08-11) to 3672a55
ending github query because we found starting sha: 8e62bfd
get_commits_between returning commits, len: 7
  commit[0] 2025-08-12: Auto merge of rust-lang#144678 - jdonszelmann:no-mangle-extern, r=bjorn3
  commit[1] 2025-08-12: Auto merge of rust-lang#145295 - Kobzol:unify-stages, r=jieyouxu
  commit[2] 2025-08-13: Auto merge of rust-lang#145093 - nikic:dead-on-return, r=nnethercote
  commit[3] 2025-08-13: Auto merge of rust-lang#145334 - Kobzol:rollup-fs5a133, r=Kobzol
  commit[4] 2025-08-13: Auto merge of rust-lang#144722 - ywxt:parallel-reproducibile, r=SparrowLii
  commit[5] 2025-08-13: Auto merge of rust-lang#145298 - nikic:llvm21-rc3, r=cuviper
  commit[6] 2025-08-13: Auto merge of rust-lang#145366 - GuillaumeGomez:rollup-v0a6v3u, r=GuillaumeGomez
```

Fixes rust-lang#140413.

r? @petrochenkov
Add a couple polonius tests and move universal region liveness generation

Adds a couple tests that confirm the use/drop-liveness of NLL-boring locals. Also, move universal region liveness to liveness::generate instead of `RegionInferenceContext::new`, to keep all liveness generation in one place.

r? lqd
Output `tests/debuginfo` raw JSON data on failure in CI

As discussed a few days ago, this change allows people to "manually bless" in cases where they do not have access to the target that caused the failure in CI. When run outside of CI, no json is dumped (since it's assumed you're running it locally and thus can just use `--bless`).

It makes things a lot easier (for the user) to present this as minified, single-line json, but obviously we'd prefer if it's formatted after they copypaste it. Maybe a tidy pass to enforce that? I'm not sure if we have anything that currently handles JSON, but I can look into it.

r? @Kobzol , @jieyouxu
…ize, r=joboet

Fix a compile error on the ESP-IDF target

PR rust-lang#160848 accidentally broke the Tier-3 ESP-IDF target by leaving out one reference to `attr.as_ptr()` which should've been changed to `attr.get()`.

This PR does the absolute minimum to restore correct behavior for the ESP-IDF target (and Nuttx).

CC
@joboet
@nia-e
@rust-bors rust-bors Bot added the rollup A PR which is a rollup label Aug 31, 2026
@rustbot rustbot added A-attributes Area: Attributes (`#[…]`, `#![…]`) 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-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. labels Aug 31, 2026
@Zalathar

Copy link
Copy Markdown
Member Author

Rollup of everything.

@bors r+ rollup=never p=5

@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

📌 Commit 2929813 has been approved by Zalathar

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 Aug 31, 2026
@rust-bors

This comment has been minimized.

rust-bors Bot pushed a commit that referenced this pull request Aug 31, 2026
Rollup of 5 pull requests

Successful merges:

 - #161556 (document some rustc_dump attributes)
 - #161353 (Add test for parallel compiler reproducible build)
 - #161776 (Add a couple polonius tests and move universal region liveness generation)
 - #162002 (Output `tests/debuginfo` raw JSON data on failure in CI)
 - #162049 (Fix a compile error on the ESP-IDF target)
@rust-log-analyzer

Copy link
Copy Markdown
Collaborator

The job armhf-gnu failed! Check out the build log: (web) (plain enhanced) (plain)

Click to see the possible cause of the failure (guessed by this bot)
---- [run-make] tests/run-make/parallel-reproducible-build stdout ----

error: rmake recipe failed to complete
status: exit status: 1
command: cd "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/rmake_out" && env -u RUSTFLAGS -u __STD_REMAP_DEBUGINFO_ENABLED AR="arm-linux-gnueabihf-ar" BUILD_ROOT="/checkout/obj/build/x86_64-unknown-linux-gnu" CC="arm-linux-gnueabihf-gcc" CC_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -march=armv6 -marm -mfpu=vfp -w" CXX="arm-linux-gnueabihf-g++" CXX_DEFAULT_FLAGS="-ffunction-sections -fdata-sections -fPIC -march=armv6 -marm -mfpu=vfp -w" HOST_RUSTC_DYLIB_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib" LD_LIBRARY_PATH=":/checkout/obj/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="/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin" LLVM_COMPONENTS="aarch64 aarch64asmparser aarch64codegen aarch64desc aarch64disassembler aarch64info aarch64utils abi aggressiveinstcombine all all-targets amdgpu amdgpuasmparser amdgpucodegen amdgpudesc amdgpudisassembler amdgpuinfo amdgputargetmca amdgpuutils analysis arm armasmparser armcodegen armdesc armdisassembler arminfo armutils asmparser asmprinter avr avrasmparser avrcodegen avrdesc avrdisassembler avrinfo binaryformat bitreader bitstreamreader bitwriter bpf bpfasmparser bpfcodegen bpfdesc bpfdisassembler bpfinfo cas cfguard cgdata codegen codegentypes core coroutines coverage csky cskyasmparser cskycodegen cskydesc cskydisassembler cskyinfo debuginfobtf debuginfocodeview debuginfodwarf debuginfodwarflowlevel debuginfogsym debuginfologicalview debuginfomsf debuginfopdb demangle dlltooldriver dtlto dwarfcfichecker dwarflinker dwarflinkerclassic dwarflinkerparallel dwp engine executionengine extensions filecheck frontendatomic frontenddirective frontenddriver frontendhlsl frontendoffloading frontendopenacc frontendopenmp fuzzercli fuzzmutate globalisel hexagon hexagonasmparser hexagoncodegen hexagondesc hexagondisassembler hexagoninfo hipstdpar instcombine instrumentation interfacestub interpreter ipo irprinter irreader jitlink libdriver lineeditor linker loongarch loongarchasmparser loongarchcodegen loongarchdesc loongarchdisassembler loongarchinfo lto m68k m68kasmparser m68kcodegen m68kdesc m68kdisassembler m68kinfo mc mca mcdisassembler mcjit mcparser mips mipsasmparser mipscodegen mipsdesc mipsdisassembler mipsinfo mirparser msp430 msp430asmparser msp430codegen msp430desc msp430disassembler msp430info native nativecodegen nvptx nvptxcodegen nvptxdesc nvptxinfo objcarcopts objcopy object objectyaml option orcdebugging orcjit orcshared orctargetprocess passes plugins powerpc powerpcasmparser powerpccodegen powerpcdesc powerpcdisassembler powerpcinfo profiledata remarks riscv riscvasmparser riscvcodegen riscvdesc riscvdisassembler riscvinfo riscvtargetmca runtimedyld sandboxir scalaropts selectiondag sparc sparcasmparser sparccodegen sparcdesc sparcdisassembler sparcinfo support supportlsp symbolize systemz systemzasmparser systemzcodegen systemzdesc systemzdisassembler systemzinfo tablegen target targetparser telemetry textapi textapibinaryreader transformutils vectorize webassembly webassemblyasmparser webassemblycodegen webassemblydesc webassemblydisassembler webassemblyinfo webassemblyutils windowsdriver windowsmanifest x86 x86asmparser x86codegen x86desc x86disassembler x86info x86targetmca xray xtensa xtensaasmparser xtensacodegen xtensadesc xtensadisassembler xtensainfo" LLVM_FILECHECK="/checkout/obj/build/x86_64-unknown-linux-gnu/ci-llvm/bin/FileCheck" PYTHON="/usr/bin/python3" REMOTE_TEST_CLIENT="/checkout/obj/build/x86_64-unknown-linux-gnu/stage1-tools-bin/remote-test-client" RUSTC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" RUSTC_LINKER="arm-linux-gnueabihf-gcc" RUSTDOC="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustdoc" SOURCE_ROOT="/checkout" TARGET="arm-unknown-linux-gnueabihf" TARGET_EXE_DYLIB_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/arm-unknown-linux-gnueabihf/lib" __BOOTSTRAP_JOBS="4" __RMAKE_VERBOSE_SUBPROCESS_OUTPUT="1" __RUSTC_DEBUG_ASSERTIONS_ENABLED="1" __STD_DEBUG_ASSERTIONS_ENABLED="1" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/rmake"
stdout: none
--- stderr -------------------------------
command failed at line 26
LD_LIBRARY_PATH="/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/temporary-directory:/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/lib::/checkout/obj/build/x86_64-unknown-linux-gnu/stage0/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/checkout/obj/build/x86_64-unknown-linux-gnu/stage2/bin/rustc" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/temporary-directory" "static-muts-issue-140413.rs" "-Zthreads=50" "-o" "static-muts-issue-140413" "--target=arm-unknown-linux-gnueabihf"
output status: `exit status: 1`
=== STDOUT ===



=== STDERR ===
error: linking with `cc` failed: exit status: 1
  |
  = note:  "cc" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/temporary-directory/rustcZ3uoeY/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/arm-unknown-linux-gnueabihf/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" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/temporary-directory/rustcZ3uoeY/raw-dylibs" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/checkout/obj/build/x86_64-unknown-linux-gnu/test/run-make/parallel-reproducible-build/temporary-directory" "-L" "<sysroot>/lib/rustlib/arm-unknown-linux-gnueabihf/lib" "-o" "static-muts-issue-140413" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
  = note: some arguments are omitted. use `--verbose` to show all linker arguments
  = note: /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: relocations in generic ELF (EM: 40)
          /usr/bin/ld: static-muts-issue-140413.static_muts_issue_140413.b28bb1f9ce35cf9f-cgu.0.rcgu.o: error adding symbols: file in wrong format
          collect2: error: ld returned 1 exit status
          

error: aborting due to 1 previous error
------------------------------------------

@rust-bors rust-bors Bot 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 Aug 31, 2026
@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

💔 Test for 6ebe8bc failed: CI. Failed job:

@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-review Status: Awaiting review from the assignee but also interested parties. labels Aug 31, 2026
@rust-bors

rust-bors Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

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

@Zalathar
Zalathar deleted the rollup-sxlc6BA branch August 31, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-attributes Area: Attributes (`#[…]`, `#![…]`) A-run-make Area: port run-make Makefiles to rmake.rs 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-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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants