From 951ef9d1f105984383b9795c56f7ab8fdd681b63 Mon Sep 17 00:00:00 2001 From: awlnx Date: Thu, 5 Mar 2015 11:53:51 -0500 Subject: fix for new attributes failing. issue #22964 --- src/liballoc/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/liballoc') diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs index 82bd13475c7..828e6b8dd76 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)] -- cgit 1.4.1-3-g733a5