@@ -1143,7 +1143,6 @@ impl Step for Assemble {
11431143 let libdir = builder. sysroot_libdir ( target_compiler, target_compiler. host ) ;
11441144 let libdir_bin = libdir. parent ( ) . unwrap ( ) . join ( "bin" ) ;
11451145 t ! ( fs:: create_dir_all( & libdir_bin) ) ;
1146-
11471146 if let Some ( lld_install) = lld_install {
11481147 let src_exe = exe ( "lld" , target_compiler. host ) ;
11491148 let dst_exe = exe ( "rust-lld" , target_compiler. host ) ;
@@ -1161,17 +1160,11 @@ impl Step for Assemble {
11611160 }
11621161 }
11631162
1164- // Similarly, copy `llvm-dwp` into libdir for Split DWARF. Only copy it when the LLVM
1165- // backend is used to avoid unnecessarily building LLVM and because LLVM is not checked
1166- // out by default when the LLVM backend is not enabled.
11671163 if builder. config . rust_codegen_backends . contains ( & INTERNER . intern_str ( "llvm" ) ) {
1168- let src_exe = exe ( "llvm-dwp" , target_compiler. host ) ;
1169- let dst_exe = exe ( "rust-llvm-dwp" , target_compiler. host ) ;
11701164 let llvm_config_bin = builder. ensure ( native:: Llvm { target : target_compiler. host } ) ;
11711165 if !builder. config . dry_run {
11721166 let llvm_bin_dir = output ( Command :: new ( llvm_config_bin) . arg ( "--bindir" ) ) ;
11731167 let llvm_bin_dir = Path :: new ( llvm_bin_dir. trim ( ) ) ;
1174- builder. copy ( & llvm_bin_dir. join ( & src_exe) , & libdir_bin. join ( & dst_exe) ) ;
11751168
11761169 // Since we've already built the LLVM tools, install them to the sysroot.
11771170 // This is the equivalent of installing the `llvm-tools-preview` component via
0 commit comments