We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e4f9084 + 4c6d793 commit a53a3ccCopy full SHA for a53a3cc
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