Separate alloc::heap::Alloc trait for stage0 #[global_allocator]
This commit is contained in:
parent
e521b8b472
commit
5e5a0c21fc
8 changed files with 109 additions and 14 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue