#![cfg(any(target_arch="x86", target_arch="x86_64"))]

#![no_std]
#![crate_name="cpu"]
#![crate_type="rlib"]
#![feature(asm)]
#![feature(associated_consts)]

#[macro_use]
extern crate bitflags;

pub use cpu::*;

#[cfg(target_arch="x86")]
#[path = "x86.rs"]
mod cpu;
#[cfg(target_arch="x86_64")]
#[path = "x86_64.rs"]
mod cpu;

pub mod std { pub use core::*; }

#![cfg(any(target_arch="x86", target_arch="x86_64"))]

#![no_std]
#![crate_name="cpu"]
#![crate_type="rlib"]
#![feature(no_std)]
#![feature(asm)]
#![feature(associated_consts)]
#![feature(core, core_slice_ext)]

#[macro_use]
extern crate bitflags;

pub use cpu::*;

#[cfg(target_arch="x86")]
#[path = "x86.rs"]
mod cpu;
#[cfg(target_arch="x86_64")]
#[path = "x86_64.rs"]
mod cpu;

pub mod std { pub use core::*; }

--- 
+++ 
@@ -3,10 +3,8 @@
 #![no_std]
 #![crate_name="cpu"]
 #![crate_type="rlib"]
-#![feature(no_std)]
 #![feature(asm)]
 #![feature(associated_consts)]
-#![feature(core, core_slice_ext)]
 
 #[macro_use]
 extern crate bitflags;
Remove gates for stablized features
