Skip to content

Commit

Permalink
Rollup merge of rust-lang#68039 - euclio:remove-strip-hidden, r=dtolnay
Browse files Browse the repository at this point in the history
remove explicit strip-hidden pass from compiler doc generation

`strip-hidden` is now implied by `--document-private-items` with rust-lang#67875, so there's no need to specify it anymore.
  • Loading branch information
Dylan-DPC committed Jan 10, 2020
2 parents 3f26eef + 8267807 commit 2fb1445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down

0 comments on commit 2fb1445

Please sign in to comment.