We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5758c2d commit 9e9a987Copy full SHA for 9e9a987
src/bootstrap/doc.rs
@@ -696,6 +696,7 @@ impl Step for Rustc {
696
t!(symlink_dir_force(&out, &out_dir));
697
698
let mut cargo = builder.cargo(compiler, Mode::Librustc, target, "doc");
699
+ cargo.env("RUSTDOCFLAGS", "--document-private-items");
700
compile::rustc_cargo(build, &mut cargo);
701
702
// Only include compiler crates, no dependencies of those, such as `libc`.
0 commit comments