Replace GlobalAlloc::oom with a lang item
This commit is contained in:
parent
8887396513
commit
e513c1bd31
16 changed files with 53 additions and 59 deletions
|
@ -482,7 +482,6 @@ pub mod path;
|
|||
pub mod process;
|
||||
pub mod sync;
|
||||
pub mod time;
|
||||
pub mod alloc;
|
||||
|
||||
#[unstable(feature = "allocator_api", issue = "32838")]
|
||||
#[rustc_deprecated(since = "1.27.0", reason = "module renamed to `alloc`")]
|
||||
|
@ -496,6 +495,8 @@ pub mod heap {
|
|||
mod sys_common;
|
||||
mod sys;
|
||||
|
||||
pub mod alloc;
|
||||
|
||||
// Private support modules
|
||||
mod panicking;
|
||||
mod memchr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue