about summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-03-07 03:28:03 +0000
committerbors <bors@rust-lang.org>2015-03-07 03:28:03 +0000
commit270a677d4d698916f5ad103f0afc3c070b8dbeb4 (patch)
tree62f22a53145acb3ea1fd95d8d4262ab9a342a421 /src/liballoc
parent4d716decb5d9944bc0d79cdc51b03e3af69bc59c (diff)
parentaed31ee08e9adff815e8a5df2499f2e4c6e7916b (diff)
downloadrust-270a677d4d698916f5ad103f0afc3c070b8dbeb4.tar.gz
rust-270a677d4d698916f5ad103f0afc3c070b8dbeb4.zip
Auto merge of #23107 - Manishearth:rollup, r=alexcrichton
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index b1fdf139b0c..5c9a42a8a71 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -56,6 +56,8 @@
 //! The [`heap`](heap/index.html) module defines the low-level interface to the
 //! default global allocator. It is not compatible with the libc allocator API.
 
+// Do not remove on snapshot creation. Needed for bootstrap. (Issue #22364)
+#![cfg_attr(stage0, feature(custom_attribute))]
 #![crate_name = "alloc"]
 #![unstable(feature = "alloc")]
 #![feature(staged_api)]