diff options
| author | Josh Stone <jistone@redhat.com> | 2025-07-08 16:38:35 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2025-07-08 16:59:44 -0700 |
| commit | 87e7539fcdfa45b2aab618c044f888432c5d097d (patch) | |
| tree | db235d6b71660e4c0edeb95f4677ddfab1638146 /src/bootstrap | |
| parent | ab68b0fb26485ab1fa6977b2d8b59cc8a171c4aa (diff) | |
| download | rust-87e7539fcdfa45b2aab618c044f888432c5d097d.tar.gz rust-87e7539fcdfa45b2aab618c044f888432c5d097d.zip | |
Disable docs for `compiler-builtins` and `sysroot`
Bootstrap already had a manual doc filter for the `sysroot` crate, but other library crates keep themselves out of the public docs by setting `[lib] doc = false` in their manifest. This seems like a better solution to hide `compiler-builtins` docs, and removes the `sysroot` hack too.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/src/core/build_steps/doc.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/build_steps/doc.rs b/src/bootstrap/src/core/build_steps/doc.rs index f7c4c5ad0bb..9e839b11c08 100644 --- a/src/bootstrap/src/core/build_steps/doc.rs +++ b/src/bootstrap/src/core/build_steps/doc.rs @@ -739,10 +739,6 @@ fn doc_std( } for krate in requested_crates { - if krate == "sysroot" { - // The sysroot crate is an implementation detail, don't include it in public docs. - continue; - } cargo.arg("-p").arg(krate); } |
