about summary refs log tree commit diff
path: root/src/librustc_bitflags/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_bitflags/lib.rs')
-rw-r--r--src/librustc_bitflags/lib.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/librustc_bitflags/lib.rs b/src/librustc_bitflags/lib.rs
index 2199beb7a20..c15ddf3ae77 100644
--- a/src/librustc_bitflags/lib.rs
+++ b/src/librustc_bitflags/lib.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "rustc_bitflags"]
 #![feature(staged_api)]
 #![staged_api]