@@ -1717,7 +1717,7 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
1717
1717
// We cannot use a dynamic name here, so instead we record the actual step name
1718
1718
// in the step_name field.
1719
1719
"step" ,
1720
- step_name = step_name :: <S >( ) ,
1720
+ step_name = pretty_step_name :: <S >( ) ,
1721
1721
args = step_debug_args( & step)
1722
1722
) ;
1723
1723
span. entered ( )
@@ -1819,7 +1819,7 @@ You have to build a stage1 compiler for `{}` first, and then use it to build a s
1819
1819
}
1820
1820
1821
1821
/// Return qualified step name, e.g. `compile::Rustc`.
1822
- fn step_name < S : Step > ( ) -> String {
1822
+ pub fn pretty_step_name < S : Step > ( ) -> String {
1823
1823
// Normalize step type path to only keep the module and the type name
1824
1824
let path = type_name :: < S > ( ) . rsplit ( "::" ) . take ( 2 ) . collect :: < Vec < _ > > ( ) ;
1825
1825
path. into_iter ( ) . rev ( ) . collect :: < Vec < _ > > ( ) . join ( "::" )
@@ -1834,7 +1834,7 @@ fn step_debug_args<S: Step>(step: &S) -> String {
1834
1834
}
1835
1835
1836
1836
fn 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) )
1838
1838
}
1839
1839
1840
1840
impl < ' a > AsRef < ExecutionContext > for Builder < ' a > {
0 commit comments