@@ -156,7 +156,7 @@ You can skip linkcheck with --skip src/tools/linkchecker"
156
156
let _guard =
157
157
builder. msg ( Kind :: Test , compiler. stage , "Linkcheck" , bootstrap_host, bootstrap_host) ;
158
158
let _time = helpers:: timeit ( builder) ;
159
- builder. run_tracked (
159
+ builder. run (
160
160
BootstrapCommand :: from ( linkchecker. arg ( builder. out . join ( host. triple ) . join ( "doc" ) ) )
161
161
. delay_failure ( ) ,
162
162
) ;
@@ -216,7 +216,7 @@ impl Step for HtmlCheck {
216
216
builder,
217
217
) ) ;
218
218
219
- builder. run_tracked (
219
+ builder. run (
220
220
BootstrapCommand :: from (
221
221
builder. tool_cmd ( Tool :: HtmlChecker ) . arg ( builder. doc_out ( self . target ) ) ,
222
222
)
@@ -267,7 +267,7 @@ impl Step for Cargotest {
267
267
. env ( "RUSTC" , builder. rustc ( compiler) )
268
268
. env ( "RUSTDOC" , builder. rustdoc ( compiler) ) ;
269
269
add_rustdoc_cargo_linker_args ( cmd, builder, compiler. host , LldThreads :: No ) ;
270
- builder. run_tracked ( BootstrapCommand :: from ( cmd) . delay_failure ( ) ) ;
270
+ builder. run ( BootstrapCommand :: from ( cmd) . delay_failure ( ) ) ;
271
271
}
272
272
}
273
273
@@ -766,7 +766,7 @@ impl Step for Clippy {
766
766
let _guard = builder. msg_sysroot_tool ( Kind :: Test , compiler. stage , "clippy" , host, host) ;
767
767
768
768
// Clippy reports errors if it blessed the outputs
769
- if builder. run_tracked ( BootstrapCommand :: from ( & mut cargo) . allow_failure ( ) ) . is_success ( ) {
769
+ if builder. run ( BootstrapCommand :: from ( & mut cargo) . allow_failure ( ) ) . is_success ( ) {
770
770
// The tests succeeded; nothing to do.
771
771
return ;
772
772
}
@@ -819,7 +819,7 @@ impl Step for RustdocTheme {
819
819
. env ( "RUSTC_BOOTSTRAP" , "1" ) ;
820
820
cmd. args ( linker_args ( builder, self . compiler . host , LldThreads :: No ) ) ;
821
821
822
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
822
+ builder. run ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
823
823
}
824
824
}
825
825
@@ -1097,7 +1097,7 @@ HELP: to skip test's attempt to check tidiness, pass `--skip src/tools/tidy` to
1097
1097
}
1098
1098
1099
1099
builder. info ( "tidy check" ) ;
1100
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
1100
+ builder. run ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
1101
1101
1102
1102
builder. info ( "x.py completions check" ) ;
1103
1103
let [ bash, zsh, fish, powershell] = [ "x.py.sh" , "x.py.zsh" , "x.py.fish" , "x.py.ps1" ]
@@ -2184,11 +2184,8 @@ impl BookTest {
2184
2184
) ;
2185
2185
let _time = helpers:: timeit ( builder) ;
2186
2186
let cmd = BootstrapCommand :: from ( & mut rustbook_cmd) . delay_failure ( ) ;
2187
- let toolstate = if builder. run_tracked ( cmd) . is_success ( ) {
2188
- ToolState :: TestPass
2189
- } else {
2190
- ToolState :: TestFail
2191
- } ;
2187
+ let toolstate =
2188
+ if builder. run ( cmd) . is_success ( ) { ToolState :: TestPass } else { ToolState :: TestFail } ;
2192
2189
builder. save_toolstate ( self . name , toolstate) ;
2193
2190
}
2194
2191
@@ -2317,8 +2314,7 @@ impl Step for ErrorIndex {
2317
2314
let guard =
2318
2315
builder. msg ( Kind :: Test , compiler. stage , "error-index" , compiler. host , compiler. host ) ;
2319
2316
let _time = helpers:: timeit ( builder) ;
2320
- builder
2321
- . run_tracked ( BootstrapCommand :: from ( & mut tool) . output_mode ( OutputMode :: OnlyOnFailure ) ) ;
2317
+ builder. run ( BootstrapCommand :: from ( & mut tool) . output_mode ( OutputMode :: OnlyOnFailure ) ) ;
2322
2318
drop ( guard) ;
2323
2319
// The tests themselves need to link to std, so make sure it is
2324
2320
// available.
@@ -2351,7 +2347,7 @@ fn markdown_test(builder: &Builder<'_>, compiler: Compiler, markdown: &Path) ->
2351
2347
if !builder. config . verbose_tests {
2352
2348
cmd = cmd. quiet ( ) ;
2353
2349
}
2354
- builder. run_tracked ( cmd) . is_success ( )
2350
+ builder. run ( cmd) . is_success ( )
2355
2351
}
2356
2352
2357
2353
#[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
@@ -2377,11 +2373,8 @@ impl Step for RustcGuide {
2377
2373
let src = builder. src . join ( relative_path) ;
2378
2374
let mut rustbook_cmd = builder. tool_cmd ( Tool :: Rustbook ) ;
2379
2375
let cmd = BootstrapCommand :: from ( rustbook_cmd. arg ( "linkcheck" ) . arg ( & src) ) . delay_failure ( ) ;
2380
- let toolstate = if builder. run_tracked ( cmd) . is_success ( ) {
2381
- ToolState :: TestPass
2382
- } else {
2383
- ToolState :: TestFail
2384
- } ;
2376
+ let toolstate =
2377
+ if builder. run ( cmd) . is_success ( ) { ToolState :: TestPass } else { ToolState :: TestFail } ;
2385
2378
builder. save_toolstate ( "rustc-dev-guide" , toolstate) ;
2386
2379
}
2387
2380
}
@@ -2994,7 +2987,7 @@ impl Step for Bootstrap {
2994
2987
. current_dir ( builder. src . join ( "src/bootstrap/" ) ) ;
2995
2988
// NOTE: we intentionally don't pass test_args here because the args for unittest and cargo test are mutually incompatible.
2996
2989
// Use `python -m unittest` manually if you want to pass arguments.
2997
- builder. run_tracked ( BootstrapCommand :: from ( & mut check_bootstrap) . delay_failure ( ) ) ;
2990
+ builder. run ( BootstrapCommand :: from ( & mut check_bootstrap) . delay_failure ( ) ) ;
2998
2991
2999
2992
let mut cmd = Command :: new ( & builder. initial_cargo ) ;
3000
2993
cmd. arg ( "test" )
@@ -3071,7 +3064,7 @@ impl Step for TierCheck {
3071
3064
self . compiler . host ,
3072
3065
self . compiler . host ,
3073
3066
) ;
3074
- builder. run_tracked ( BootstrapCommand :: from ( & mut cargo. into ( ) ) . delay_failure ( ) ) ;
3067
+ builder. run ( BootstrapCommand :: from ( & mut cargo. into ( ) ) . delay_failure ( ) ) ;
3075
3068
}
3076
3069
}
3077
3070
@@ -3157,7 +3150,7 @@ impl Step for RustInstaller {
3157
3150
cmd. env ( "CARGO" , & builder. initial_cargo ) ;
3158
3151
cmd. env ( "RUSTC" , & builder. initial_rustc ) ;
3159
3152
cmd. env ( "TMP_DIR" , & tmpdir) ;
3160
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
3153
+ builder. run ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
3161
3154
}
3162
3155
3163
3156
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
@@ -3352,7 +3345,7 @@ impl Step for CodegenCranelift {
3352
3345
cargo. args ( builder. config . test_args ( ) ) ;
3353
3346
3354
3347
let mut cmd: Command = cargo. into ( ) ;
3355
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) ) ;
3348
+ builder. run ( BootstrapCommand :: from ( & mut cmd) ) ;
3356
3349
}
3357
3350
}
3358
3351
@@ -3478,6 +3471,6 @@ impl Step for CodegenGCC {
3478
3471
cargo. args ( builder. config . test_args ( ) ) ;
3479
3472
3480
3473
let mut cmd: Command = cargo. into ( ) ;
3481
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) ) ;
3474
+ builder. run ( BootstrapCommand :: from ( & mut cmd) ) ;
3482
3475
}
3483
3476
}
0 commit comments