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]