diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-06 09:04:47 +0530 |
|---|---|---|
| committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-06 22:22:33 +0530 |
| commit | 2fcdd824efd7e0adc2743b4190c8934b861478eb (patch) | |
| tree | 030c730967500366a52f19a4004b0a6ea2c1e524 /src/liballoc | |
| parent | ce2d04a77acd1021d91d81d04f399df731daf0cf (diff) | |
| parent | 951ef9d1f105984383b9795c56f7ab8fdd681b63 (diff) | |
| download | rust-2fcdd824efd7e0adc2743b4190c8934b861478eb.tar.gz rust-2fcdd824efd7e0adc2743b4190c8934b861478eb.zip | |
Rollup merge of #23056 - awlnx:master, r=nrc
Diffstat (limited to 'src/liballoc')
| -rw-r--r-- | src/liballoc/lib.rs | 2 |
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)] |
