about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2023-10-16 15:22:17 -0700
committerMichael Howell <michael@notriddle.com>2023-10-16 15:38:08 -0700
commite1cb8187e1b532bb006bc85f842161fed8837563 (patch)
tree2b52f373c8516f8a4617afec616f533cda318c42
parentba103e34c040eecf5756b2539b0ebf743b3c1058 (diff)
downloadrust-e1cb8187e1b532bb006bc85f842161fed8837563.tar.gz
rust-e1cb8187e1b532bb006bc85f842161fed8837563.zip
docs: add Rust logo to more compiler crates
c6e6ecb1afea9695a42d0f148ce153536b279eb5 added it to some of the
compiler's crates, but avoided adding it to all of them to reduce
bit-rot. This commit adds to more.
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 9c18fc4a0dc..6aa5b6bd1ff 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -12,6 +12,8 @@
  * TODO(antoyo): remove the patches.
  */
 
+#![cfg_attr(not(bootstrap), doc(rust_logo))]
+#![cfg_attr(not(bootstrap), feature(rustdoc_internals))]
 #![feature(
     rustc_private,
     decl_macro,