@@ -1143,7 +1143,6 @@ impl Step for Assemble {
1143
1143
let libdir = builder. sysroot_libdir ( target_compiler, target_compiler. host ) ;
1144
1144
let libdir_bin = libdir. parent ( ) . unwrap ( ) . join ( "bin" ) ;
1145
1145
t ! ( fs:: create_dir_all( & libdir_bin) ) ;
1146
-
1147
1146
if let Some ( lld_install) = lld_install {
1148
1147
let src_exe = exe ( "lld" , target_compiler. host ) ;
1149
1148
let dst_exe = exe ( "rust-lld" , target_compiler. host ) ;
@@ -1161,17 +1160,11 @@ impl Step for Assemble {
1161
1160
}
1162
1161
}
1163
1162
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.
1167
1163
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 ) ;
1170
1164
let llvm_config_bin = builder. ensure ( native:: Llvm { target : target_compiler. host } ) ;
1171
1165
if !builder. config . dry_run {
1172
1166
let llvm_bin_dir = output ( Command :: new ( llvm_config_bin) . arg ( "--bindir" ) ) ;
1173
1167
let llvm_bin_dir = Path :: new ( llvm_bin_dir. trim ( ) ) ;
1174
- builder. copy ( & llvm_bin_dir. join ( & src_exe) , & libdir_bin. join ( & dst_exe) ) ;
1175
1168
1176
1169
// Since we've already built the LLVM tools, install them to the sysroot.
1177
1170
// This is the equivalent of installing the `llvm-tools-preview` component via
0 commit comments