mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 18:01:04 +00:00
Fix build of adder wasm (#54)
This commit is contained in:
committed by
Robert Habermeier
parent
19095168ce
commit
81bc154cb5
@@ -19,7 +19,7 @@
|
|||||||
#![no_std]
|
#![no_std]
|
||||||
|
|
||||||
#![feature(
|
#![feature(
|
||||||
alloc, core_intrinsics, lang_items, panic_implementation, core_panic_info,
|
alloc, core_intrinsics, lang_items, panic_handler, core_panic_info,
|
||||||
alloc_error_handler
|
alloc_error_handler
|
||||||
)]
|
)]
|
||||||
|
|
||||||
@@ -39,7 +39,7 @@ use parachain::ValidationResult;
|
|||||||
use parachain::codec::{Encode, Decode};
|
use parachain::codec::{Encode, Decode};
|
||||||
use adder::{HeadData, BlockData};
|
use adder::{HeadData, BlockData};
|
||||||
|
|
||||||
#[panic_implementation]
|
#[panic_handler]
|
||||||
#[no_mangle]
|
#[no_mangle]
|
||||||
pub fn panic(_info: &panic::PanicInfo) -> ! {
|
pub fn panic(_info: &panic::PanicInfo) -> ! {
|
||||||
unsafe {
|
unsafe {
|
||||||
|
|||||||
Reference in New Issue
Block a user