strip synstructure consts from compiler docs
This commit is contained in:
parent
1962adea6a
commit
c95be3d033
3 changed files with 6 additions and 6 deletions
|
|
@ -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`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue