cargo run -p bootstrap -- test tidy
fails because it can't find the sysroot
#94797
Labels
C-bug
Category: This is a bug.
I tried this:
cargo run -p bootstrap -- test tidy
I expected to see this happen: Tidy runs fine, just as if I'd run
x test tidy
.Instead, this happened:
The problem is that
src/bootstrap/build.rs
is settingRUSTC
to~/.cargo/bin/rustc
, not~/.rustup/toolchains/beta-x86_64-unknown-linux-gnu/bin/rustc
, which breaks because rustbuild then can't find the appropriate sysroot.cc #92260
@rustbot label: +A-bootstrap
The text was updated successfully, but these errors were encountered: