File tree 1 file changed +0
-13
lines changed
1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change @@ -445,19 +445,6 @@ impl Step for Rustc {
445
445
}
446
446
}
447
447
448
- // Copy over the codegen backends
449
- let backends_src = builder. sysroot_codegen_backends ( compiler) ;
450
- let backends_rel = backends_src
451
- . strip_prefix ( & src)
452
- . unwrap ( )
453
- . strip_prefix ( builder. sysroot_libdir_relative ( compiler) )
454
- . unwrap ( ) ;
455
- // Don't use custom libdir here because ^lib/ will be resolved again with installer
456
- let backends_dst = image. join ( "lib" ) . join ( & backends_rel) ;
457
-
458
- t ! ( fs:: create_dir_all( & backends_dst) ) ;
459
- builder. cp_r ( & backends_src, & backends_dst) ;
460
-
461
448
// Copy libLLVM.so to the lib dir as well, if needed. While not
462
449
// technically needed by rustc itself it's needed by lots of other
463
450
// components like the llvm tools and LLD. LLD is included below and
You can’t perform that action at this time.
0 commit comments