diff options
Diffstat (limited to 'src/lib.rs')
-rw-r--r-- | src/lib.rs | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -5,17 +5,22 @@ #![crate_name = "x86"] #![crate_type = "lib"] +#[cfg(test)] +#[macro_use] +extern crate std; + #[macro_use] extern crate bitflags; #[macro_use] extern crate raw_cpuid; -#[cfg(test)] -extern crate std; +#[macro_use] +extern crate phf; #[cfg(not(test))] mod std { + pub use core::fmt; pub use core::ops; pub use core::option; } @@ -31,6 +36,7 @@ pub mod segmentation; pub mod task; pub mod dtables; pub mod syscall; +pub mod perfcnt; pub mod cpuid { pub use raw_cpuid::*; }
\ No newline at end of file |