]> git.lizzy.rs Git - rust.git/blobdiff - src/libstd/lib.rs
Rollup merge of #23056 - awlnx:master, r=nrc
[rust.git] / src / libstd / lib.rs
index c0db163e0874dce39f28099ac8ddae334d23af5c..ce14967090e0fb40c8208fc65b9212722873c189 100644 (file)
@@ -94,7 +94,8 @@
 //! to all code by default. [`macros`](macros/index.html) contains
 //! all the standard macros, such as `assert!`, `panic!`, `println!`,
 //! and `format!`, also available to all Rust code.
-
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "std"]
 #![stable(feature = "rust1", since = "1.0.0")]
 #![staged_api]