@@ -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
@@ -1099,7 +1099,7 @@ HELP: to skip test's attempt to check tidiness, pass `--skip src/tools/tidy` to
1099
1099
}
1100
1100
1101
1101
builder. info ( "tidy check" ) ;
1102
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
1102
+ builder. run ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
1103
1103
1104
1104
builder. info ( "x.py completions check" ) ;
1105
1105
let [ bash, zsh, fish, powershell] = [ "x.py.sh" , "x.py.zsh" , "x.py.fish" , "x.py.ps1" ]
@@ -2186,11 +2186,8 @@ impl BookTest {
2186
2186
) ;
2187
2187
let _time = helpers:: timeit ( builder) ;
2188
2188
let cmd = BootstrapCommand :: from ( & mut rustbook_cmd) . delay_failure ( ) ;
2189
- let toolstate = if builder. run_tracked ( cmd) . is_success ( ) {
2190
- ToolState :: TestPass
2191
- } else {
2192
- ToolState :: TestFail
2193
- } ;
2189
+ let toolstate =
2190
+ if builder. run ( cmd) . is_success ( ) { ToolState :: TestPass } else { ToolState :: TestFail } ;
2194
2191
builder. save_toolstate ( self . name , toolstate) ;
2195
2192
}
2196
2193
@@ -2319,8 +2316,7 @@ impl Step for ErrorIndex {
2319
2316
let guard =
2320
2317
builder. msg ( Kind :: Test , compiler. stage , "error-index" , compiler. host , compiler. host ) ;
2321
2318
let _time = helpers:: timeit ( builder) ;
2322
- builder
2323
- . run_tracked ( BootstrapCommand :: from ( & mut tool) . output_mode ( OutputMode :: OnlyOnFailure ) ) ;
2319
+ builder. run ( BootstrapCommand :: from ( & mut tool) . output_mode ( OutputMode :: OnlyOnFailure ) ) ;
2324
2320
drop ( guard) ;
2325
2321
// The tests themselves need to link to std, so make sure it is
2326
2322
// available.
@@ -2353,7 +2349,7 @@ fn markdown_test(builder: &Builder<'_>, compiler: Compiler, markdown: &Path) ->
2353
2349
if !builder. config . verbose_tests {
2354
2350
cmd = cmd. quiet ( ) ;
2355
2351
}
2356
- builder. run_tracked ( cmd) . is_success ( )
2352
+ builder. run ( cmd) . is_success ( )
2357
2353
}
2358
2354
2359
2355
#[ derive( Debug , Clone , PartialEq , Eq , Hash ) ]
@@ -2379,11 +2375,8 @@ impl Step for RustcGuide {
2379
2375
let src = builder. src . join ( relative_path) ;
2380
2376
let mut rustbook_cmd = builder. tool_cmd ( Tool :: Rustbook ) ;
2381
2377
let cmd = BootstrapCommand :: from ( rustbook_cmd. arg ( "linkcheck" ) . arg ( & src) ) . delay_failure ( ) ;
2382
- let toolstate = if builder. run_tracked ( cmd) . is_success ( ) {
2383
- ToolState :: TestPass
2384
- } else {
2385
- ToolState :: TestFail
2386
- } ;
2378
+ let toolstate =
2379
+ if builder. run ( cmd) . is_success ( ) { ToolState :: TestPass } else { ToolState :: TestFail } ;
2387
2380
builder. save_toolstate ( "rustc-dev-guide" , toolstate) ;
2388
2381
}
2389
2382
}
@@ -2993,7 +2986,7 @@ impl Step for Bootstrap {
2993
2986
. current_dir ( builder. src . join ( "src/bootstrap/" ) ) ;
2994
2987
// NOTE: we intentionally don't pass test_args here because the args for unittest and cargo test are mutually incompatible.
2995
2988
// Use `python -m unittest` manually if you want to pass arguments.
2996
- builder. run_tracked ( BootstrapCommand :: from ( & mut check_bootstrap) . delay_failure ( ) ) ;
2989
+ builder. run ( BootstrapCommand :: from ( & mut check_bootstrap) . delay_failure ( ) ) ;
2997
2990
2998
2991
let mut cmd = Command :: new ( & builder. initial_cargo ) ;
2999
2992
cmd. arg ( "test" )
@@ -3070,7 +3063,7 @@ impl Step for TierCheck {
3070
3063
self . compiler . host ,
3071
3064
self . compiler . host ,
3072
3065
) ;
3073
- builder. run_tracked ( BootstrapCommand :: from ( & mut cargo. into ( ) ) . delay_failure ( ) ) ;
3066
+ builder. run ( BootstrapCommand :: from ( & mut cargo. into ( ) ) . delay_failure ( ) ) ;
3074
3067
}
3075
3068
}
3076
3069
@@ -3156,7 +3149,7 @@ impl Step for RustInstaller {
3156
3149
cmd. env ( "CARGO" , & builder. initial_cargo ) ;
3157
3150
cmd. env ( "RUSTC" , & builder. initial_rustc ) ;
3158
3151
cmd. env ( "TMP_DIR" , & tmpdir) ;
3159
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
3152
+ builder. run ( BootstrapCommand :: from ( & mut cmd) . delay_failure ( ) ) ;
3160
3153
}
3161
3154
3162
3155
fn should_run ( run : ShouldRun < ' _ > ) -> ShouldRun < ' _ > {
@@ -3351,7 +3344,7 @@ impl Step for CodegenCranelift {
3351
3344
cargo. args ( builder. config . test_args ( ) ) ;
3352
3345
3353
3346
let mut cmd: Command = cargo. into ( ) ;
3354
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) ) ;
3347
+ builder. run ( BootstrapCommand :: from ( & mut cmd) ) ;
3355
3348
}
3356
3349
}
3357
3350
@@ -3477,6 +3470,6 @@ impl Step for CodegenGCC {
3477
3470
cargo. args ( builder. config . test_args ( ) ) ;
3478
3471
3479
3472
let mut cmd: Command = cargo. into ( ) ;
3480
- builder. run_tracked ( BootstrapCommand :: from ( & mut cmd) ) ;
3473
+ builder. run ( BootstrapCommand :: from ( & mut cmd) ) ;
3481
3474
}
3482
3475
}
0 commit comments