rename __default_lib_allocator -> __default_alloc_error_handler
This commit is contained in:
parent
1911d21866
commit
b6bedc80c9
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ pub fn handle_alloc_error(layout: Layout) -> ! {
|
||||||
#[doc(hidden)]
|
#[doc(hidden)]
|
||||||
#[allow(unused_attributes)]
|
#[allow(unused_attributes)]
|
||||||
#[unstable(feature = "alloc_internals", issue = "none")]
|
#[unstable(feature = "alloc_internals", issue = "none")]
|
||||||
pub mod __default_lib_allocator {
|
pub mod __alloc_error_handler {
|
||||||
use crate::alloc::Layout;
|
use crate::alloc::Layout;
|
||||||
|
|
||||||
// called via generated `__rust_alloc_error_handler`
|
// called via generated `__rust_alloc_error_handler`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue