We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 921f068 + 4c6d793 commit cb7115aCopy full SHA for cb7115a
src/bootstrap/src/core/build_steps/dist.rs
@@ -471,7 +471,7 @@ impl Step for Rustc {
471
}
472
473
474
- {
+ if builder.config.llvm_enabled(compiler.host) && builder.config.llvm_tools_enabled {
475
let src_dir = builder.sysroot_target_bindir(compiler, host);
476
let llvm_objcopy = exe("llvm-objcopy", compiler.host);
477
let rust_objcopy = exe("rust-objcopy", compiler.host);
0 commit comments