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

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

#[allow(unstable)] #[macro_use]
extern crate core;

pub use cpu::*;

#[macro_use] mod bitflags;

#[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(asm)]

#[allow(unstable)] #[macro_use]
extern crate core;

pub use cpu::*;

#[macro_use] mod bitflags;

#[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::fmt;
	pub use core::num;
	pub use core::option;
	pub use core::cmp;
	pub use core::clone;
	pub use core::marker;
	pub use core::ops;
}

--- 
+++ 
@@ -19,12 +19,4 @@
 #[path = "x86_64.rs"]
 mod cpu;
 
-pub mod std {
-	pub use core::fmt;
-	pub use core::num;
-	pub use core::option;
-	pub use core::cmp;
-	pub use core::clone;
-	pub use core::marker;
-	pub use core::ops;
-}
+pub mod std { pub use core::*; }
Use a simpler way to create the faux-std module
