File tree 1 file changed +6
-1
lines changed
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 {
667
667
/// Compiler documentation is distributed separately, so we make sure
668
668
/// we do not merge it with the other documentation from std, test and
669
669
/// proc_macros. This is largely just a wrapper around `cargo doc`.
670
- fn run ( self , builder : & Builder < ' _ > ) {
670
+ fn run ( mut self , builder : & Builder < ' _ > ) {
671
671
let stage = self . stage ;
672
672
let target = self . target ;
673
673
@@ -725,6 +725,11 @@ impl Step for Rustc {
725
725
cargo. rustdocflag ( "ena=https://docs.rs/ena/latest/" ) ;
726
726
727
727
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
+
728
733
for krate in & * self . crates {
729
734
// Create all crate output directories first to make sure rustdoc uses
730
735
// relative links.
You can’t perform that action at this time.
0 commit comments