diff --git a/Cargo.toml b/Cargo.toml index b06c55d..794ace7 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,3 +15,7 @@ bitflags = "0.7.0" x86_64 = "0.1.2" once = "0.3.3" linked_list_allocator = "0.4.2" + +[dependencies.lazy_static] +version = "0.2.4" +features = ["spin_no_std"] diff --git a/src/lib.rs b/src/lib.rs index 2496def..8377011 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -23,6 +23,8 @@ extern crate x86_64; extern crate once; extern crate linked_list_allocator; #[macro_use] +extern crate lazy_static; +#[macro_use] mod vga_buffer; mod memory; mod interrupts;