File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -566,10 +566,6 @@ fn doc_std(
566566
567567 let compiler = builder. compiler ( stage, builder. config . build ) ;
568568
569- let description =
570- format ! ( "library{} in {} format" , crate_description( & requested_crates) , format. as_str( ) ) ;
571- let _guard = builder. msg_doc ( compiler, & description, target) ;
572-
573569 let target_doc_dir_name = if format == DocumentationFormat :: JSON { "json-doc" } else { "doc" } ;
574570 let target_dir =
575571 builder. stage_out ( compiler, Mode :: Std ) . join ( target. triple ) . join ( target_doc_dir_name) ;
@@ -606,6 +602,10 @@ fn doc_std(
606602 cargo. arg ( "-p" ) . arg ( krate) ;
607603 }
608604
605+ let description =
606+ format ! ( "library{} in {} format" , crate_description( & requested_crates) , format. as_str( ) ) ;
607+ let _guard = builder. msg_doc ( compiler, & description, target) ;
608+
609609 builder. run ( & mut cargo. into ( ) ) ;
610610 builder. cp_r ( & out_dir, & out) ;
611611}
You can’t perform that action at this time.
0 commit comments