about summary refs log tree commit diff
path: root/library/compiler-builtins
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2025-07-08 16:38:35 -0700
committerJosh Stone <jistone@redhat.com>2025-07-08 16:59:44 -0700
commit87e7539fcdfa45b2aab618c044f888432c5d097d (patch)
treedb235d6b71660e4c0edeb95f4677ddfab1638146 /library/compiler-builtins
parentab68b0fb26485ab1fa6977b2d8b59cc8a171c4aa (diff)
downloadrust-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 'library/compiler-builtins')
-rw-r--r--library/compiler-builtins/compiler-builtins/Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/compiler-builtins/compiler-builtins/Cargo.toml b/library/compiler-builtins/compiler-builtins/Cargo.toml
index c5446cd76e3..3ccb05f73fb 100644
--- a/library/compiler-builtins/compiler-builtins/Cargo.toml
+++ b/library/compiler-builtins/compiler-builtins/Cargo.toml
@@ -19,6 +19,8 @@ links = "compiler-rt"
 bench = false
 doctest = false
 test = false
+# make sure this crate isn't included in public standard library docs
+doc = false
 
 [dependencies]
 core = { path = "../../core", optional = true }