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