You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
COMPILETEST_FORCE_STAGE0=1 ./x.py test --stage 0 tests/run-make no longer works. librun_make_support.rlib is compiled using the bootstrap rustc wrapper which sets --sysroot build/$HOST_TRIPLE/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.
Pass the right --sysroot when compiling rmake.rs, use the bootstrap rustc wrapper in compiletest too? Or something else?
Passing the right --sysroot might be the least disruptive solution (would anything wonky happen if we use bootstrap rustc wrapper in compiletest too?), but I'm not sure if this is the best solution.
Activity
bjorn3 commentedon Mar 8, 2024
See also https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/stage0.20compiletest.20broken
jieyouxu commentedon Mar 8, 2024
From the zulip comment
Passing the right
--sysrootmight be the least disruptive solution (would anything wonky happen if we use bootstrap rustc wrapper in compiletest too?), but I'm not sure if this is the best solution.Rollup merge of rust-lang#122248 - jieyouxu:rmake-sysroot, r=Mark-Sim…
Rollup merge of rust-lang#122248 - jieyouxu:rmake-sysroot, r=Mark-Sim…
Unrolled build for rust-lang#122248