Shipping llvm-strip w/ a symlink breaks when bootstrap compiler doesn't contain any LLVM tools #132719
Labels
C-bug
Category: This is a bug.
T-bootstrap
Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap)
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This breaks bootstrapping when the bootstrap compiler doesn't contain any LLVM tools as is the case when cg_clif bootstraps rustc:
It should probably check
builder.config.llvm_enabled(target_compiler.host) && builder.config.llvm_tools_enabled
before copying to ensure thatllvm-objcopy
exists in the first place.Originally posted by @bjorn3 in #131405 (comment)
The text was updated successfully, but these errors were encountered: