about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-06 09:04:47 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-06 22:22:33 +0530
commit2fcdd824efd7e0adc2743b4190c8934b861478eb (patch)
tree030c730967500366a52f19a4004b0a6ea2c1e524 /src/libstd
parentce2d04a77acd1021d91d81d04f399df731daf0cf (diff)
parent951ef9d1f105984383b9795c56f7ab8fdd681b63 (diff)
downloadrust-2fcdd824efd7e0adc2743b4190c8934b861478eb.tar.gz
rust-2fcdd824efd7e0adc2743b4190c8934b861478eb.zip
Rollup merge of #23056 - awlnx:master, r=nrc
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/lib.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs
index c0db163e087..ce14967090e 100644
--- a/src/libstd/lib.rs
+++ b/src/libstd/lib.rs
@@ -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]