Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
f1c180a0
Commit
f1c180a0
authored
Dec 14, 2018
by
Adrian Brink
Committed by
asynchronous rob
Dec 14, 2018
Browse files
Fix build of adder wasm (#54)
parent
13b58b13
Pipeline
#27161
passed with stages
in 14 minutes and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
test-parachains/adder/wasm/src/lib.rs
View file @
f1c180a0
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment