Skip to content

Commit

Permalink
Fix build of adder wasm (paritytech#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Brink authored and rphmeier committed Dec 14, 2018
1 parent 13b58b1 commit f1c180a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-parachains/adder/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
)]

Expand All @@ -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 {
Expand Down

0 comments on commit f1c180a

Please sign in to comment.