Separate alloc::heap::Alloc trait for stage0 #[global_allocator]

This commit is contained in:
Simon Sapin 2018-04-03 20:58:50 +02:00
parent e521b8b472
commit 5e5a0c21fc
8 changed files with 109 additions and 14 deletions

View file

@ -22,11 +22,6 @@ use core::usize;
#[doc(inline)]
pub use core::alloc::*;
#[doc(hidden)]
pub mod __core {
pub use core::*;
}
extern "Rust" {
#[allocator]
#[rustc_allocator_nounwind]