From aa5e7a4e6f435035d964c208f2b23caa7eaaba51 Mon Sep 17 00:00:00 2001 From: equation314 Date: Mon, 3 Dec 2018 12:54:31 +0800 Subject: [PATCH] remove #![feature(extern_crate_item_prelude)] --- crate/memory/src/lib.rs | 3 +-- crate/process/src/lib.rs | 1 - kernel/src/lib.rs | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/crate/memory/src/lib.rs b/crate/memory/src/lib.rs index ac956fa..96d3fd1 100644 --- a/crate/memory/src/lib.rs +++ b/crate/memory/src/lib.rs @@ -1,7 +1,6 @@ #![cfg_attr(not(test), no_std)] #![feature(alloc)] #![feature(nll)] -#![feature(extern_crate_item_prelude)] // import macros from log use log::*; @@ -14,4 +13,4 @@ pub mod memory_set; mod addr; pub mod no_mmu; -pub use crate::addr::*; \ No newline at end of file +pub use crate::addr::*; diff --git a/crate/process/src/lib.rs b/crate/process/src/lib.rs index ac55f7e..764cdb6 100644 --- a/crate/process/src/lib.rs +++ b/crate/process/src/lib.rs @@ -6,7 +6,6 @@ #![feature(vec_resize_default)] #![feature(asm)] #![feature(exact_size_is_empty)] -#![feature(extern_crate_item_prelude)] extern crate alloc; diff --git a/kernel/src/lib.rs b/kernel/src/lib.rs index b8b1168..6513ac9 100644 --- a/kernel/src/lib.rs +++ b/kernel/src/lib.rs @@ -5,7 +5,6 @@ #![feature(optin_builtin_traits)] #![feature(panic_info_message)] #![feature(global_asm)] -#![feature(extern_crate_item_prelude)] #![no_std] // just keep it ...