File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -667,7 +667,7 @@ impl Step for Rustc {
667667 /// Compiler documentation is distributed separately, so we make sure
668668 /// we do not merge it with the other documentation from std, test and
669669 /// proc_macros. This is largely just a wrapper around `cargo doc`.
670- fn run ( self , builder : & Builder < ' _ > ) {
670+ fn run ( mut self , builder : & Builder < ' _ > ) {
671671 let stage = self . stage ;
672672 let target = self . target ;
673673
@@ -725,6 +725,11 @@ impl Step for Rustc {
725725 cargo. rustdocflag ( "ena=https://docs.rs/ena/latest/" ) ;
726726
727727 let mut to_open = None ;
728+
729+ if self . crates . is_empty ( ) {
730+ self . crates = INTERNER . intern_list ( vec ! [ "rustc_driver" . to_owned( ) ] ) ;
731+ } ;
732+
728733 for krate in & * self . crates {
729734 // Create all crate output directories first to make sure rustdoc uses
730735 // relative links.
You can’t perform that action at this time.
0 commit comments