mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add a dependency on the alloc crate
This commit is contained in:
2
Xargo.toml
Normal file
2
Xargo.toml
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[target.x86_64-blog_os.dependencies]
|
||||||
|
alloc = {}
|
||||||
@@ -1,9 +1,14 @@
|
|||||||
#![feature(lang_items)]
|
#![feature(lang_items)]
|
||||||
#![feature(const_fn)]
|
#![feature(const_fn)]
|
||||||
|
#![feature(alloc)]
|
||||||
#![feature(const_unique_new)]
|
#![feature(const_unique_new)]
|
||||||
#![feature(unique)]
|
#![feature(unique)]
|
||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
|
|
||||||
|
#[macro_use]
|
||||||
|
extern crate alloc;
|
||||||
|
|
||||||
extern crate rlibc;
|
extern crate rlibc;
|
||||||
extern crate volatile;
|
extern crate volatile;
|
||||||
extern crate spin;
|
extern crate spin;
|
||||||
|
|||||||
Reference in New Issue
Block a user