@@ -2874,19 +2874,19 @@ impl Step for RemoteCopyLibs {
2874
2874
2875
2875
// Spawn the emulator and wait for it to come online
2876
2876
let tool = builder. tool_exe ( Tool :: RemoteTestClient ) ;
2877
- let mut cmd = Command :: new ( & tool) ;
2877
+ let mut cmd = BootstrapCommand :: new ( & tool) ;
2878
2878
cmd. arg ( "spawn-emulator" ) . arg ( target. triple ) . arg ( & server) . arg ( builder. tempdir ( ) ) ;
2879
2879
if let Some ( rootfs) = builder. qemu_rootfs ( target) {
2880
2880
cmd. arg ( rootfs) ;
2881
2881
}
2882
- builder. run ( & mut cmd) ;
2882
+ builder. run ( cmd) ;
2883
2883
2884
2884
// Push all our dylibs to the emulator
2885
2885
for f in t ! ( builder. sysroot_libdir( compiler, target) . read_dir( ) ) {
2886
2886
let f = t ! ( f) ;
2887
2887
let name = f. file_name ( ) . into_string ( ) . unwrap ( ) ;
2888
2888
if helpers:: is_dylib ( & name) {
2889
- builder. run ( Command :: new ( & tool) . arg ( "push" ) . arg ( f. path ( ) ) ) ;
2889
+ builder. run ( BootstrapCommand :: new ( & tool) . arg ( "push" ) . arg ( f. path ( ) ) ) ;
2890
2890
}
2891
2891
}
2892
2892
}
@@ -2917,20 +2917,20 @@ impl Step for Distcheck {
2917
2917
builder. ensure ( dist:: PlainSourceTarball ) ;
2918
2918
builder. ensure ( dist:: Src ) ;
2919
2919
2920
- let mut cmd = Command :: new ( "tar" ) ;
2920
+ let mut cmd = BootstrapCommand :: new ( "tar" ) ;
2921
2921
cmd. arg ( "-xf" )
2922
2922
. arg ( builder. ensure ( dist:: PlainSourceTarball ) . tarball ( ) )
2923
2923
. arg ( "--strip-components=1" )
2924
2924
. current_dir ( & dir) ;
2925
- builder. run ( & mut cmd) ;
2925
+ builder. run ( cmd) ;
2926
2926
builder. run (
2927
- Command :: new ( "./configure" )
2927
+ BootstrapCommand :: new ( "./configure" )
2928
2928
. args ( & builder. config . configure_args )
2929
2929
. arg ( "--enable-vendor" )
2930
2930
. current_dir ( & dir) ,
2931
2931
) ;
2932
2932
builder. run (
2933
- Command :: new ( helpers:: make ( & builder. config . build . triple ) )
2933
+ BootstrapCommand :: new ( helpers:: make ( & builder. config . build . triple ) )
2934
2934
. arg ( "check" )
2935
2935
. current_dir ( & dir) ,
2936
2936
) ;
@@ -2950,7 +2950,7 @@ impl Step for Distcheck {
2950
2950
2951
2951
let toml = dir. join ( "rust-src/lib/rustlib/src/rust/library/std/Cargo.toml" ) ;
2952
2952
builder. run (
2953
- Command :: new ( & builder. initial_cargo )
2953
+ BootstrapCommand :: new ( & builder. initial_cargo )
2954
2954
// Will read the libstd Cargo.toml
2955
2955
// which uses the unstable `public-dependency` feature.
2956
2956
. env ( "RUSTC_BOOTSTRAP" , "1" )
0 commit comments