File tree 1 file changed +7
-2
lines changed
src/bootstrap/src/core/build_steps
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -797,7 +797,10 @@ impl Step for Rustc {
797
797
cargo. rustdocflag ( "-Zunstable-options" ) ;
798
798
cargo. rustdocflag ( "-Znormalize-docs" ) ;
799
799
cargo. rustdocflag ( "--show-type-layout" ) ;
800
- cargo. rustdocflag ( "--generate-link-to-definition" ) ;
800
+ // FIXME: `--generate-link-to-definition` tries to resolve cfged out code
801
+ // see https://github.com/rust-lang/rust/pull/122066#issuecomment-1983049222
802
+ // cargo.rustdocflag("--generate-link-to-definition");
803
+
801
804
compile:: rustc_cargo ( builder, & mut cargo, target, compiler. stage ) ;
802
805
cargo. arg ( "-Zunstable-options" ) ;
803
806
cargo. arg ( "-Zskip-rustdoc-fingerprint" ) ;
@@ -953,8 +956,10 @@ macro_rules! tool_doc {
953
956
cargo. rustdocflag( "-Arustdoc::private-intra-doc-links" ) ;
954
957
cargo. rustdocflag( "--enable-index-page" ) ;
955
958
cargo. rustdocflag( "--show-type-layout" ) ;
956
- cargo. rustdocflag( "--generate-link-to-definition" ) ;
957
959
cargo. rustdocflag( "-Zunstable-options" ) ;
960
+ // FIXME: `--generate-link-to-definition` tries to resolve cfged out code
961
+ // see https://github.com/rust-lang/rust/pull/122066#issuecomment-1983049222
962
+ // cargo.rustdocflag("--generate-link-to-definition");
958
963
959
964
let out_dir = builder. stage_out( compiler, Mode :: ToolRustc ) . join( target. triple) . join( "doc" ) ;
960
965
$( for krate in $crates {
You can’t perform that action at this time.
0 commit comments