Skip to content

Commit

Permalink
Rollup merge of rust-lang#88292 - SkiFire13:enable-rustdoc-links, r=j…
Browse files Browse the repository at this point in the history
…yn514

Enable --generate-link-to-definition for rustc's docs

cc `@jyn514`
  • Loading branch information
Manishearth authored Sep 16, 2021
2 parents d1d8145 + 549d742 commit 0ad800c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ impl Step for Rustc {
cargo.rustdocflag("-Zunstable-options");
cargo.rustdocflag("-Znormalize-docs");
cargo.rustdocflag("--show-type-layout");
cargo.rustdocflag("--generate-link-to-definition");
compile::rustc_cargo(builder, &mut cargo, target);
cargo.arg("-Zunstable-options");
cargo.arg("-Zskip-rustdoc-fingerprint");
Expand Down

0 comments on commit 0ad800c

Please sign in to comment.