Skip to content

Commit d6336df

Browse files
committed
Add an index page for nightly rustc docs.
1 parent 825cf51 commit d6336df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/bootstrap/doc.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,11 @@ impl Step for Rustc {
478478

479479
// Build cargo command.
480480
let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
481-
cargo.env("RUSTDOCFLAGS", "--document-private-items");
481+
cargo.env(
482+
"RUSTDOCFLAGS",
483+
"--document-private-items \
484+
--enable-index-page -Zunstable-options",
485+
);
482486
compile::rustc_cargo(builder, &mut cargo, target);
483487

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

0 commit comments

Comments
 (0)