Skip to content

Commit 8657a64

Browse files
committed
Add --lib to cargo doc
1 parent 0939ec1 commit 8657a64

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bootstrap/doc.rs

+1
Original file line numberDiff line numberDiff line change
@@ -834,6 +834,7 @@ macro_rules! tool_doc {
834834
cargo.arg("-Zskip-rustdoc-fingerprint");
835835
// Only include compiler crates, no dependencies of those, such as `libc`.
836836
cargo.arg("--no-deps");
837+
cargo.arg("--lib");
837838
$(
838839
cargo.arg("-p").arg($krate);
839840
)+

0 commit comments

Comments
 (0)