aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 79a60c3..7cb35ed 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,16 +1,16 @@
-#![feature(no_std)]
+#![feature(no_std, core_str_ext, core_slice_ext)]
#![feature(asm)]
#![no_std]
#![crate_name = "x86"]
#![crate_type = "lib"]
-#[cfg(test)]
#[macro_use]
-extern crate std;
+mod bitflags;
+#[cfg(test)]
#[macro_use]
-extern crate bitflags;
+extern crate std;
#[macro_use]
extern crate raw_cpuid;