File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -666,12 +666,7 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
666666 . target ( & build. config . build )
667667 . stage ( 0 )
668668 } )
669- . dep ( move |s| {
670- s. name ( "doc-unstable-book-gen" )
671- . host ( & build. config . build )
672- . target ( & build. config . build )
673- . stage ( 0 )
674- } )
669+ . dep ( move |s| s. name ( "doc-unstable-book-gen" ) )
675670 . default ( build. config . docs )
676671 . run ( move |s| doc:: rustbook_src ( build,
677672 s. target ,
@@ -693,8 +688,13 @@ pub fn build_rules<'a>(build: &'a Build) -> Rules {
693688 . host ( true )
694689 . run ( move |s| doc:: error_index ( build, s. target ) ) ;
695690 rules. doc ( "doc-unstable-book-gen" , "src/tools/unstable-book-gen" )
696- . dep ( move |s| s. name ( "tool-unstable-book-gen" ) . target ( & build. config . build ) . stage ( 0 ) )
697- . dep ( move |s| s. name ( "librustc-link" ) )
691+ . dep ( move |s| {
692+ s. name ( "tool-unstable-book-gen" )
693+ . host ( & build. config . build )
694+ . target ( & build. config . build )
695+ . stage ( 0 )
696+ } )
697+ . dep ( move |s| s. name ( "libstd-link" ) )
698698 . default ( build. config . docs )
699699 . host ( true )
700700 . run ( move |s| doc:: unstable_book_gen ( build, s. target ) ) ;
You can’t perform that action at this time.
0 commit comments