@@ -413,6 +413,7 @@ impl Step for RustAnalyzer {
413413 cargo. env ( "SKIP_SLOW_TESTS" , "1" ) ;
414414
415415 cargo. add_rustc_lib_path ( builder, compiler) ;
416+ builder. msg_sysroot_tool ( Kind :: Test , compiler. stage , "rust-analyzer" , host, host) ;
416417 run_cargo_test ( cargo, & [ ] , & [ ] , "rust-analyzer" , compiler, host, builder) ;
417418 }
418419}
@@ -462,6 +463,7 @@ impl Step for Rustfmt {
462463
463464 cargo. add_rustc_lib_path ( builder, compiler) ;
464465
466+ builder. msg_sysroot_tool ( Kind :: Test , compiler. stage , "rustfmt" , host, host) ;
465467 run_cargo_test ( cargo, & [ ] , & [ ] , "rustfmt" , compiler, host, builder) ;
466468 }
467469}
@@ -554,6 +556,13 @@ impl Miri {
554556 cargo. env ( "RUST_BACKTRACE" , "1" ) ;
555557
556558 let mut cargo = Command :: from ( cargo) ;
559+ let _guard = builder. msg (
560+ Kind :: Build ,
561+ compiler. stage + 1 ,
562+ "miri sysroot" ,
563+ compiler. host ,
564+ compiler. host ,
565+ ) ;
557566 builder. run ( & mut cargo) ;
558567
559568 // # Determine where Miri put its sysroot.
@@ -631,6 +640,8 @@ impl Step for Miri {
631640 SourceType :: InTree ,
632641 & [ ] ,
633642 ) ;
643+ let _guard = builder. msg_sysroot_tool ( Kind :: Test , compiler. stage , "miri" , host, host) ;
644+
634645 cargo. add_rustc_lib_path ( builder, compiler) ;
635646
636647 // miri tests need to know about the stage sysroot
@@ -799,6 +810,8 @@ impl Step for Clippy {
799810 cargo. env ( "BLESS" , "Gesundheit" ) ;
800811 }
801812
813+ builder. msg_sysroot_tool ( Kind :: Test , compiler. stage , "clippy" , host, host) ;
814+
802815 if builder. try_run ( & mut cargo) . is_ok ( ) {
803816 // The tests succeeded; nothing to do.
804817 return ;
@@ -1049,6 +1062,13 @@ impl Step for RustdocGUI {
10491062 }
10501063
10511064 let _time = util:: timeit ( & builder) ;
1065+ let _guard = builder. msg_sysroot_tool (
1066+ Kind :: Test ,
1067+ self . compiler . stage ,
1068+ "rustdoc-gui" ,
1069+ self . compiler . host ,
1070+ self . target ,
1071+ ) ;
10521072 crate :: render_tests:: try_run_tests ( builder, & mut cmd, true ) ;
10531073 }
10541074}
0 commit comments