about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-17 04:41:20 +0000
committerbors <bors@rust-lang.org>2023-10-17 04:41:20 +0000
commit631a116cd3b326096340691e60bf74e9868289a6 (patch)
tree59d1e8cd0ec07b853d164a2baa40cc0c7a01140d /compiler/rustc_codegen_gcc
parentc07693c1608258f3577eb15057fc0744fa924ae9 (diff)
parent2ff2624722a8e0022ba0783d5870456df379ed94 (diff)
downloadrust-631a116cd3b326096340691e60bf74e9868289a6.tar.gz
rust-631a116cd3b326096340691e60bf74e9868289a6.zip
Auto merge of #116822 - notriddle:notriddle/rust-logo, r=fmease
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.

r? `@GuillaumeGomez`
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_codegen_gcc/src/lib.rs b/compiler/rustc_codegen_gcc/src/lib.rs
index 9c18fc4a0dc..6aa5b6bd1ff 100644
--- a/compiler/rustc_codegen_gcc/src/lib.rs
+++ b/compiler/rustc_codegen_gcc/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,