From 22014eb38d8fab130b679038ea8d0cea3578ca39 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 13 Dec 2015 19:10:26 +0100 Subject: [PATCH] The `no_std` attribute is stable now --- posts/2015-09-02-set-up-rust.md | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/posts/2015-09-02-set-up-rust.md b/posts/2015-09-02-set-up-rust.md index 6d1d7b0c..a1e91773 100644 --- a/posts/2015-09-02-set-up-rust.md +++ b/posts/2015-09-02-set-up-rust.md @@ -40,7 +40,7 @@ The `package` section contains required project metadata such as the [semantic c Now we place our root source file in `src/lib.rs`: ```rust -#![feature(no_std, lang_items)] +#![feature(lang_items)] #![no_std] #[no_mangle] diff --git a/src/lib.rs b/src/lib.rs index b2e54a14..2ffc7daa 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -12,7 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -#![feature(no_std, lang_items)] +#![feature(lang_items)] #![feature(const_fn, unique, core_str_ext, iter_cmp)] #![no_std]