Skip to content

Commit

Permalink
alloc_error_handler has stabilized
Browse files Browse the repository at this point in the history
  • Loading branch information
tantaman committed Apr 24, 2023
1 parent 28b6f4c commit 117b815
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions core/rs/bundle/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#![no_std]
#![feature(core_intrinsics)]
#![feature(alloc_error_handler)]
#![feature(lang_items)]

extern crate alloc;
Expand All @@ -23,11 +22,6 @@ fn panic(_info: &PanicInfo) -> ! {
core::intrinsics::abort()
}

#[alloc_error_handler]
fn oom(_: Layout) -> ! {
core::intrinsics::abort()
}

#[cfg(not(target_family = "wasm"))]
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}
Expand Down
2 changes: 1 addition & 1 deletion core/rs/sqlite-rs-embedded

0 comments on commit 117b815

Please sign in to comment.