Skip to content

Commit

Permalink
Rollup merge of #112211 - eval-exec:exec/fix-bootstrap-rustdoc, r=ozk…
Browse files Browse the repository at this point in the history
…anonur

pass `--lib` to `x doc`

This PR want to close #112082
  • Loading branch information
compiler-errors authored Jun 2, 2023
2 parents e4a6b24 + 8657a64 commit 163ce68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bootstrap/doc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
)+
Expand Down

0 comments on commit 163ce68

Please sign in to comment.