Files
rust/src/tools/run-make-support
Jonathan Brouwer 5aa6dfb48b Rollup merge of #156230 - Vastargazing:tests/wasm-compiler-builtins-object-arch, r=tgross35
tests: check wasm compiler_builtins object architecture

See rust-lang/rust#132802

This adds a run-make test for the wasm sysroot regression fixed in rust-lang/rust#137457

The test checks that the `.o` members in the prebuilt
`libcompiler_builtins` rlib for `wasm32-wasip1` are wasm objects rather than
host ELF objects. Before that fix, bootstrap could use the host C compiler for
compiler-rt fallbacks on wasm targets and end up embedding host objects into
the wasm sysroot.

I used `wasm32-wasip1` because that's the wasm target covered by the existing
`tests/run-make` CI setup, and the test asserts that it actually saw `.o`
members in the archive.

Closes: https://github.com/rust-lang/rust/issues/132802

r? @tgross35
2026-06-30 03:41:23 +02:00
..
2026-05-13 02:40:58 +00:00