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

Commit

Permalink
fix(wasm) panic_implementation has been renamed to panic_handler.
Browse files Browse the repository at this point in the history
See rust-lang/rust#53619 for more details.
  • Loading branch information
Hywan committed Aug 29, 2018
1 parent 69c0609 commit 2b3722d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bindings/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and deallocations, to panic, and to manage an out-of-memory situation.
alloc_error_handler,
core_intrinsics,
lang_items,
panic_implementation
panic_handler
)]

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

#[panic_implementation]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
unsafe {
core::intrinsics::abort();
Expand Down

0 comments on commit 2b3722d

Please sign in to comment.