mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Link bump_allocator and alloc and collections crates
This commit is contained in:
@@ -9,6 +9,7 @@ crate-type = ["staticlib"]
|
||||
[dependencies]
|
||||
rlibc = "0.1.4"
|
||||
spin = "0.3.4"
|
||||
bump_allocator = {path="libs/bump_allocator"}
|
||||
|
||||
[dependencies.x86]
|
||||
version = "0.6.0"
|
||||
|
||||
@@ -9,6 +9,7 @@
|
||||
|
||||
#![feature(lang_items)]
|
||||
#![feature(const_fn, unique)]
|
||||
#![feature(alloc, collections)]
|
||||
#![no_std]
|
||||
|
||||
extern crate rlibc;
|
||||
@@ -18,6 +19,11 @@ extern crate multiboot2;
|
||||
extern crate bitflags;
|
||||
extern crate x86;
|
||||
|
||||
extern crate bump_allocator;
|
||||
extern crate alloc;
|
||||
#[macro_use]
|
||||
extern crate collections;
|
||||
|
||||
#[macro_use]
|
||||
mod vga_buffer;
|
||||
mod memory;
|
||||
|
||||
Reference in New Issue
Block a user