Add a dependency on the alloc crate

This commit is contained in:
Philipp Oppermann
2017-11-19 12:41:20 +01:00
parent 36369cfbe2
commit 5f017124dd
2 changed files with 7 additions and 0 deletions

2
Xargo.toml Normal file
View File

@@ -0,0 +1,2 @@
[target.x86_64-blog_os.dependencies]
alloc = {}

View File

@@ -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;