diff options
| author | Eric Huss <eric@huss.org> | 2020-04-29 08:16:39 -0700 |
|---|---|---|
| committer | Eric Huss <eric@huss.org> | 2020-04-29 08:16:39 -0700 |
| commit | d6336dfe01744209b1aa0987c0a7a6c1d79a8ff4 (patch) | |
| tree | 189a93c4a1614bc0f510723f8f053a61a4f793c6 /src/bootstrap | |
| parent | 825cf51ad7d2578fcd60a0b7b107d7b0ab3017ff (diff) | |
Add an index page for nightly rustc docs.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/doc.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index fc217a707db..7eab92ddc92 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -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`. |
