File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -2538,8 +2538,15 @@ impl Step for RustDev {
25382538 let dst_bindir = image. join ( "bin" ) ;
25392539 t ! ( fs:: create_dir_all( & dst_bindir) ) ;
25402540
2541- let exe = builder. llvm_out ( target) . join ( "bin" ) . join ( exe ( "llvm-config" , target) ) ;
2542- builder. install ( & exe, & dst_bindir, 0o755 ) ;
2541+ let src_bindir = builder. llvm_out ( target) . join ( "bin" ) ;
2542+ let install_bin =
2543+ |name| builder. install ( & src_bindir. join ( exe ( name, target) ) , & dst_bindir, 0o755 ) ;
2544+ install_bin ( "llvm-config" ) ;
2545+ install_bin ( "llvm-ar" ) ;
2546+ install_bin ( "llvm-objdump" ) ;
2547+ install_bin ( "llvm-profdata" ) ;
2548+ install_bin ( "llvm-bcanalyzer" ) ;
2549+ install_bin ( "llvm-cov" ) ;
25432550 builder. install ( & builder. llvm_filecheck ( target) , & dst_bindir, 0o755 ) ;
25442551
25452552 // Copy the include directory as well; needed mostly to build
You can’t perform that action at this time.
0 commit comments