mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add bitflags macro
This commit is contained in:
@@ -9,5 +9,9 @@ crate-type = ["staticlib"]
|
||||
[dependencies]
|
||||
rlibc = "*"
|
||||
|
||||
[dependencies.bitflags]
|
||||
git = "https://github.com/phil-opp/bitflags.git"
|
||||
branch = "no_std"
|
||||
|
||||
[dependencies.multiboot2]
|
||||
path = "../multiboot2"
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
|
||||
extern crate rlibc;
|
||||
extern crate multiboot2;
|
||||
#[macro_use]
|
||||
extern crate bitflags;
|
||||
|
||||
use core::fmt::Write;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user