about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-03-17 08:23:25 +0100
committerGitHub <noreply@github.com>2024-03-17 08:23:25 +0100
commita5dbdc2fa91adf9e4aeaa4c8a1ca187dba6d9024 (patch)
tree140fbe4b97afa464d0e1dc01484960c8feadcd66 /compiler/rustc_codegen_llvm/src
parent3c0732154134472c769696f59ecd3c22c4d54c3d (diff)
parent43de44d538306f169ac4d5b8162b65d87c592348 (diff)
downloadrust-a5dbdc2fa91adf9e4aeaa4c8a1ca187dba6d9024.tar.gz
rust-a5dbdc2fa91adf9e4aeaa4c8a1ca187dba6d9024.zip
Rollup merge of #122248 - jieyouxu:rmake-sysroot, r=Mark-Simulacrum
Respect stage0 sysroot when compiling rmake.rs with COMPILETEST_FORCE_STAGE0

Context: <https://rust-lang.zulipchat.com/#narrow/stream/326414-t-infra.2Fbootstrap/topic/stage0.20compiletest.20broken>.
> cg_clif uses `COMPILETEST_FORCE_STAGE0=1 ./x.py test --stage 0` for running the rustc test suite. With the introduction of rmake.rs this broke. `librun_make_support.rlib` is compiled using the bootstrap rustc wrapper which sets `--sysroot build/aarch64-unknown-linux-gnu/stage0-sysroot`, but then compiletest will compile `rmake.rs` using the sysroot of the bootstrap compiler causing it to not find the `libstd.rlib` against which `librun_make_support.rlib` is compiled.

cc ``@bjorn3``

Fixes #122196.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions