File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -306,7 +306,12 @@ fn make_win_dist(
306306 }
307307
308308 //Copy platform tools to platform-specific bin directory
309- let target_bin_dir = plat_root. join ( "lib" ) . join ( "rustlib" ) . join ( target_triple) . join ( "bin" ) ;
309+ let target_bin_dir = plat_root
310+ . join ( "lib" )
311+ . join ( "rustlib" )
312+ . join ( target_triple)
313+ . join ( "bin" )
314+ . join ( "self-contained" ) ;
310315 fs:: create_dir_all ( & target_bin_dir) . expect ( "creating target_bin_dir failed" ) ;
311316 for src in target_tools {
312317 builder. copy_to_folder ( & src, & target_bin_dir) ;
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl<'a> FileSearch<'a> {
9898 p. push ( RUST_LIB_DIR ) ;
9999 p. push ( & self . triple ) ;
100100 p. push ( "bin" ) ;
101- vec ! [ p]
101+ vec ! [ p. clone ( ) , p . join ( "self-contained" ) ]
102102 }
103103}
104104
You can’t perform that action at this time.
0 commit comments