Skip to content
This repository was archived by the owner on Jun 15, 2020. It is now read-only.

Commit 2b3722d

Browse files
committed
fix(wasm) panic_implementation has been renamed to panic_handler.
See rust-lang/rust#53619 for more details.
1 parent 69c0609 commit 2b3722d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bindings/wasm/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ and deallocations, to panic, and to manage an out-of-memory situation.
2222
alloc_error_handler,
2323
core_intrinsics,
2424
lang_items,
25-
panic_implementation
25+
panic_handler
2626
)]
2727

2828
extern crate gutenberg_post_parser;
@@ -36,7 +36,7 @@ use core::{mem, slice};
3636
#[global_allocator]
3737
static ALLOC: wee_alloc::WeeAlloc = wee_alloc::WeeAlloc::INIT;
3838

39-
#[panic_implementation]
39+
#[panic_handler]
4040
fn panic(_info: &core::panic::PanicInfo) -> ! {
4141
unsafe {
4242
core::intrinsics::abort();

0 commit comments

Comments
 (0)