Add spinlock dependency

This commit is contained in:
Philipp Oppermann
2015-10-09 17:50:43 +02:00
parent 3b762cafe0
commit 97a0da1bb9
2 changed files with 2 additions and 0 deletions

View File

@@ -8,6 +8,7 @@ crate-type = ["staticlib"]
[dependencies] [dependencies]
rlibc = "*" rlibc = "*"
spin = "*"
[dependencies.bitflags] [dependencies.bitflags]
git = "https://github.com/phil-opp/bitflags.git" git = "https://github.com/phil-opp/bitflags.git"

View File

@@ -21,6 +21,7 @@ extern crate rlibc;
extern crate multiboot2; extern crate multiboot2;
#[macro_use] #[macro_use]
extern crate bitflags; extern crate bitflags;
extern crate spin;
use core::fmt::Write; use core::fmt::Write;