File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -566,10 +566,6 @@ fn doc_std(
566
566
567
567
let compiler = builder. compiler ( stage, builder. config . build ) ;
568
568
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
-
573
569
let target_doc_dir_name = if format == DocumentationFormat :: JSON { "json-doc" } else { "doc" } ;
574
570
let target_dir =
575
571
builder. stage_out ( compiler, Mode :: Std ) . join ( target. triple ) . join ( target_doc_dir_name) ;
@@ -606,6 +602,10 @@ fn doc_std(
606
602
cargo. arg ( "-p" ) . arg ( krate) ;
607
603
}
608
604
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
+
609
609
builder. run ( & mut cargo. into ( ) ) ;
610
610
builder. cp_r ( & out_dir, & out) ;
611
611
}
You can’t perform that action at this time.
0 commit comments