diff --git a/src/lib.rs b/src/lib.rs index d6bb9b1234..4b70f73c1c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,6 @@ #![no_std] #![feature( asm_const, - alloc_error_handler, core_intrinsics, )] @@ -42,11 +41,6 @@ fn panic_handler(info: &core::panic::PanicInfo) -> ! { core::intrinsics::abort(); } -#[alloc_error_handler] -fn alloc_error_handler(_: core::alloc::Layout) -> ! { - core::intrinsics::abort(); -} - #[cfg(target_pointer_width = "32")] const HEAP_OFF: usize = 0x4000_0000;