@@ -1717,7 +1717,7 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
17171717 // We cannot use a dynamic name here, so instead we record the actual step name
17181718 // in the step_name field.
17191719 "step" ,
1720- step_name = step_name :: <S >( ) ,
1720+ step_name = pretty_step_name :: <S >( ) ,
17211721 args = step_debug_args( & step)
17221722 ) ;
17231723 span. entered ( )
@@ -1819,7 +1819,7 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
18191819}
18201820
18211821/// Return qualified step name, e.g. `compile::Rustc`.
1822- fn step_name < S : Step > ( ) -> String {
1822+ pub fn pretty_step_name < S : Step > ( ) -> String {
18231823 // Normalize step type path to only keep the module and the type name
18241824 let path = type_name :: < S > ( ) . rsplit ( "::" ) . take ( 2 ) . collect :: < Vec < _ > > ( ) ;
18251825 path. into_iter ( ) . rev ( ) . collect :: < Vec < _ > > ( ) . join ( "::" )
@@ -1834,7 +1834,7 @@ fn step_debug_args<S: Step>(step: &S) -> String {
18341834}
18351835
18361836fn pretty_print_step < S : Step > ( step : & S ) -> String {
1837- format ! ( "{} {{ {} }}" , step_name :: <S >( ) , step_debug_args( step) )
1837+ format ! ( "{} {{ {} }}" , pretty_step_name :: <S >( ) , step_debug_args( step) )
18381838}
18391839
18401840impl < ' a > AsRef < ExecutionContext > for Builder < ' a > {
0 commit comments