Rollup merge of #134240 - cuviper:dist-llvm-tools, r=jieyouxu
Only dist `llvm-objcopy` if llvm tools are enabled This uses the same condition that #132720 added in the compilation phase. r? ``@jieyouxu``
This commit is contained in:
commit
a53a3ccab4
1 changed files with 1 additions and 1 deletions
|
@ -471,7 +471,7 @@ impl Step for Rustc {
|
|||
}
|
||||
}
|
||||
|
||||
{
|
||||
if builder.config.llvm_enabled(compiler.host) && builder.config.llvm_tools_enabled {
|
||||
let src_dir = builder.sysroot_target_bindir(compiler, host);
|
||||
let llvm_objcopy = exe("llvm-objcopy", compiler.host);
|
||||
let rust_objcopy = exe("rust-objcopy", compiler.host);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue