Bump allocator
This commit is contained in:
parent
19077d69db
commit
9f0819dafb
4 changed files with 61 additions and 0 deletions
|
@ -64,6 +64,8 @@
|
|||
//! An error will be returned, `ENOBUFS`, if the buffer is not long enough for the name.
|
||||
//! In this case, it is recommended to add one page, 4096 bytes, to the buffer and retry.
|
||||
|
||||
#![feature(alloc)]
|
||||
#![feature(collections)]
|
||||
#![feature(const_fn)]
|
||||
#![feature(lang_items)]
|
||||
#![feature(question_mark)]
|
||||
|
@ -84,6 +86,14 @@ extern crate arch_test as arch;
|
|||
#[macro_use]
|
||||
extern crate arch_x86_64 as arch;
|
||||
|
||||
/// Bump allocator
|
||||
#[cfg(all(not(test), target_arch = "x86_64"))]
|
||||
extern crate bump_allocator;
|
||||
|
||||
extern crate alloc;
|
||||
#[macro_use]
|
||||
extern crate collections;
|
||||
|
||||
/// Context management
|
||||
pub mod context;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue