From f1c180a0ed3ef859fa51a976dec120e8afff5c49 Mon Sep 17 00:00:00 2001 From: Adrian Brink Date: Fri, 14 Dec 2018 16:09:59 +0100 Subject: [PATCH] Fix build of adder wasm (#54) --- test-parachains/adder/wasm/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-parachains/adder/wasm/src/lib.rs b/test-parachains/adder/wasm/src/lib.rs index 0e16142647ee4..3156f04f143c0 100644 --- a/test-parachains/adder/wasm/src/lib.rs +++ b/test-parachains/adder/wasm/src/lib.rs @@ -19,7 +19,7 @@ #![no_std] #![feature( - alloc, core_intrinsics, lang_items, panic_implementation, core_panic_info, + alloc, core_intrinsics, lang_items, panic_handler, core_panic_info, alloc_error_handler )] @@ -39,7 +39,7 @@ use parachain::ValidationResult; use parachain::codec::{Encode, Decode}; use adder::{HeadData, BlockData}; -#[panic_implementation] +#[panic_handler] #[no_mangle] pub fn panic(_info: &panic::PanicInfo) -> ! { unsafe {