mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Use upstream lazy static as it has a spin_no_std feature now (#158)
This commit is contained in:
@@ -6,4 +6,7 @@ version = "0.1.0"
|
||||
[dependencies]
|
||||
linked_list_allocator = "0.2.0"
|
||||
spin = "0.3.5"
|
||||
once = "0.2.0"
|
||||
|
||||
[dependencies.lazy_static]
|
||||
version = "0.2.1"
|
||||
features = ["spin_no_std"]
|
||||
|
||||
@@ -10,7 +10,7 @@ use linked_list_allocator::Heap;
|
||||
extern crate spin;
|
||||
extern crate linked_list_allocator;
|
||||
#[macro_use]
|
||||
extern crate once;
|
||||
extern crate lazy_static;
|
||||
|
||||
pub const HEAP_START: usize = 0o_000_001_000_000_0000;
|
||||
pub const HEAP_SIZE: usize = 100 * 1024; // 100 KiB
|
||||
|
||||
Reference in New Issue
Block a user