mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Add spinlock dependency
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user