error: unable to run rust-objcopy
: No such file or directory (os error 2)
#135472
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
As we install
rust-objcopy
conditionally on dist steprust/src/bootstrap/src/core/build_steps/dist.rs
Lines 475 to 480 in 1ab85fb
using external LLVM with
llvm-tools
set to false causes the toolchain built from bootstrap to fail when compiling programs due to the missingrust-objcopy
.We should be capable of checking for the external LLVM's tools and installing them. If these tools don't exist, the build should terminate (so it doesn't waste hours of time on building) with an error message.
The text was updated successfully, but these errors were encountered: