Skip to content

Commit 0ad800c

Browse files
authored
Rollup merge of #88292 - SkiFire13:enable-rustdoc-links, r=jyn514
Enable --generate-link-to-definition for rustc's docs cc `@jyn514`
2 parents d1d8145 + 549d742 commit 0ad800c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/doc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,7 @@ impl Step for Rustc {
589589
cargo.rustdocflag("-Zunstable-options");
590590
cargo.rustdocflag("-Znormalize-docs");
591591
cargo.rustdocflag("--show-type-layout");
592+
cargo.rustdocflag("--generate-link-to-definition");
592593
compile::rustc_cargo(builder, &mut cargo, target);
593594
cargo.arg("-Zunstable-options");
594595
cargo.arg("-Zskip-rustdoc-fingerprint");

0 commit comments

Comments
 (0)