remove strip-hidden pass from compiler doc generation

This commit is contained in:
Andy Russell 2020-01-08 21:43:54 -05:00
parent caa231d998
commit 826780772e
No known key found for this signature in database
GPG Key ID: BE2221033EDBC374

View File

@ -531,7 +531,7 @@ impl Step for Rustc {
// Build cargo command.
let mut cargo = builder.cargo(compiler, Mode::Rustc, target, "doc");
cargo.env("RUSTDOCFLAGS", "--document-private-items --passes strip-hidden");
cargo.env("RUSTDOCFLAGS", "--document-private-items");
compile::rustc_cargo(builder, &mut cargo, target);
// Only include compiler crates, no dependencies of those, such as `libc`.