File tree 1 file changed +8
-0
lines changed
1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -590,10 +590,18 @@ impl Step for Rustc {
590
590
cargo. rustdocflag ( "-Znormalize-docs" ) ;
591
591
cargo. rustdocflag ( "--show-type-layout" ) ;
592
592
compile:: rustc_cargo ( builder, & mut cargo, target) ;
593
+ cargo. arg ( "-Zunstable-options" ) ;
593
594
cargo. arg ( "-Zskip-rustdoc-fingerprint" ) ;
594
595
595
596
// Only include compiler crates, no dependencies of those, such as `libc`.
597
+ // Do link to dependencies on `docs.rs` however using `rustdoc-map`.
596
598
cargo. arg ( "--no-deps" ) ;
599
+ cargo. arg ( "-Zrustdoc-map" ) ;
600
+
601
+ // FIXME: `-Zrustdoc-map` does not yet correctly work for transitive dependencies,
602
+ // once this is no longer an issue the special case for `ena` can be removed.
603
+ cargo. rustdocflag ( "--extern-html-root-url" ) ;
604
+ cargo. rustdocflag ( "ena=https://docs.rs/ena/latest/" ) ;
597
605
598
606
// Find dependencies for top level crates.
599
607
let mut compiler_crates = HashSet :: new ( ) ;
You can’t perform that action at this time.
0 commit comments