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