Add --lib to cargo doc
This commit is contained in:
parent
0939ec13d8
commit
8657a64a68
1 changed files with 1 additions and 0 deletions
|
|
@ -834,6 +834,7 @@ macro_rules! tool_doc {
|
|||
cargo.arg("-Zskip-rustdoc-fingerprint");
|
||||
// Only include compiler crates, no dependencies of those, such as `libc`.
|
||||
cargo.arg("--no-deps");
|
||||
cargo.arg("--lib");
|
||||
$(
|
||||
cargo.arg("-p").arg($krate);
|
||||
)+
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue