diff options
| author | Andy Russell <arussell123@gmail.com> | 2019-05-16 14:32:28 -0400 |
|---|---|---|
| committer | Andy Russell <arussell123@gmail.com> | 2019-05-16 14:32:28 -0400 |
| commit | c95be3d033a72880749813ae0bfc7067437f9c19 (patch) | |
| tree | 954ad1b948fe6c04cd1e6af694fa36bd124aacd0 /src/bootstrap/doc.rs | |
| parent | 1962adea6ad9b992516ae56ad7f8c5bc33b951cb (diff) | |
| download | rust-c95be3d033a72880749813ae0bfc7067437f9c19.tar.gz rust-c95be3d033a72880749813ae0bfc7067437f9c19.zip | |
strip synstructure consts from compiler docs
Diffstat (limited to 'src/bootstrap/doc.rs')
| -rw-r--r-- | src/bootstrap/doc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 9c3a17bff6b..5605ec34083 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -728,7 +728,7 @@ 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 --passes strip-hidden"); compile::rustc_cargo(builder, &mut cargo); // Only include compiler crates, no dependencies of those, such as `libc`. |
