Switch to Wasmtime for parachain execution (#2265)

* Switch to Wasmtime for parachain execution

* Fix the signature for halt's validate_block

* wasmtime feature enabled from cli

* Adds missing feature

Co-authored-by: Sergei Shulepov <sergei@parity.io>
Co-authored-by: Bastian Köcher <git@kchr.de>
This commit is contained in:
Robert Habermeier
2021-01-15 12:03:22 -05:00
committed by GitHub
parent 089ba85c32
commit 8192248c52
4 changed files with 6 additions and 2 deletions
@@ -50,6 +50,6 @@ pub fn oom(_: core::alloc::Layout) -> ! {
#[cfg(not(feature = "std"))]
#[no_mangle]
pub extern fn validate_block(params: *const u8, len: usize) -> usize {
pub extern fn validate_block(params: *const u8, len: usize) -> u64 {
loop {}
}