diff options
| author | Michael Goulet <michael@errs.io> | 2023-06-02 16:02:07 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-02 16:02:07 -0700 |
| commit | 163ce686bedd1f8ca86a6066d26ed480e65c5e2e (patch) | |
| tree | d854d686570feb609ac1aa21db2f457a136879f4 | |
| parent | e4a6b242450aa6040d903ce021bc859b98ff84d8 (diff) | |
| parent | 8657a64a68a20cc94f8ff74c8d59bba0827dbdb7 (diff) | |
| download | rust-163ce686bedd1f8ca86a6066d26ed480e65c5e2e.tar.gz rust-163ce686bedd1f8ca86a6066d26ed480e65c5e2e.zip | |
Rollup merge of #112211 - eval-exec:exec/fix-bootstrap-rustdoc, r=ozkanonur
pass `--lib` to `x doc` This PR want to close #112082
| -rw-r--r-- | src/bootstrap/doc.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/doc.rs b/src/bootstrap/doc.rs index 2e715fce945..d6210ed59c4 100644 --- a/src/bootstrap/doc.rs +++ b/src/bootstrap/doc.rs @@ -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); )+ |
