about summary refs log tree commit diff
path: root/src/liballoc_system
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-08-09 21:35:01 +0800
committerkennytm <kennytm@gmail.com>2018-08-10 01:01:30 +0800
commitbb0151c6d4390e99cb1c545bd24f01545344510e (patch)
tree40f27f95679be4486e9e2fcce95753173aba34c9 /src/liballoc_system
parent746abc32659e193dd97d34ab2fceecebd80dfb38 (diff)
parentce7f0c483d4e9e116f4e35a378c6637c808faaab (diff)
downloadrust-bb0151c6d4390e99cb1c545bd24f01545344510e.tar.gz
rust-bb0151c6d4390e99cb1c545bd24f01545344510e.zip
Rollup merge of #53211 - memoryruins:nll_bootstrap, r=nikomatsakis
[nll] enable feature(nll) on various crates for bootstrap

#53172
Diffstat (limited to 'src/liballoc_system')
-rw-r--r--src/liballoc_system/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/liballoc_system/lib.rs b/src/liballoc_system/lib.rs
index 8e30b0d5d5a..c5e056f6b12 100644
--- a/src/liballoc_system/lib.rs
+++ b/src/liballoc_system/lib.rs
@@ -14,8 +14,10 @@
             reason = "this library is unlikely to be stabilized in its current \
                       form or name",
             issue = "32838")]
+
 #![feature(allocator_api)]
 #![feature(core_intrinsics)]
+#![cfg_attr(not(stage0), feature(nll))]
 #![feature(staged_api)]
 #![feature(rustc_attrs)]
 #![cfg_attr(any(unix, target_os = "cloudabi", target_os = "redox"), feature(libc))]