summary refs log tree commit diff
path: root/src/liballoc
diff options
context:
space:
mode:
authorKeegan McAllister <kmcallister@mozilla.com>2015-02-05 16:14:42 -0800
committerKeegan McAllister <kmcallister@mozilla.com>2015-02-07 10:49:58 -0800
commitd788588dce5525b2bf5674b0c90c791a70582330 (patch)
treee16e924890a8401365911044b158d6de266e4054 /src/liballoc
parent67350bc8681d6df212817644cad7c748039a6238 (diff)
downloadrust-d788588dce5525b2bf5674b0c90c791a70582330.tar.gz
rust-d788588dce5525b2bf5674b0c90c791a70582330.zip
Feature-gate #![no_std]
Fixes #21833.

[breaking-change]
Diffstat (limited to 'src/liballoc')
-rw-r--r--src/liballoc/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/liballoc/lib.rs b/src/liballoc/lib.rs
index b3a7e3dbdeb..81391fd63eb 100644
--- a/src/liballoc/lib.rs
+++ b/src/liballoc/lib.rs
@@ -65,6 +65,7 @@
        html_favicon_url = "http://www.rust-lang.org/favicon.ico",
        html_root_url = "http://doc.rust-lang.org/nightly/")]
 
+#![feature(no_std)]
 #![no_std]
 #![feature(lang_items, unsafe_destructor)]
 #![feature(box_syntax)]