Skip to content

Commit

Permalink
Add an index page for nightly rustc docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 29, 2020
1 parent 825cf51 commit d6336df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,11 @@ impl Step for Rustc {

// Build cargo command.
let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
cargo.env("RUSTDOCFLAGS", "--document-private-items");
cargo.env(
"RUSTDOCFLAGS",
"--document-private-items \
--enable-index-page -Zunstable-options",
);
compile::rustc_cargo(builder, &mut cargo, target);

// Only include compiler crates, no dependencies of those, such as `libc`.
Expand Down

0 comments on commit d6336df

Please sign in to comment.