mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 11:41:02 +00:00
Fix compilation in wasm (#465)
Also fix the weird file structure by making `wasm_executor.rs` -> `wasm_executor/mod.rs`.
This commit is contained in:
committed by
Robert Habermeier
parent
9c7845b824
commit
dd0009a006
+2
-3
@@ -32,8 +32,7 @@ use super::{
|
|||||||
UpwardMessage, IncomingMessage};
|
UpwardMessage, IncomingMessage};
|
||||||
|
|
||||||
#[cfg(not(target_os = "unknown"))]
|
#[cfg(not(target_os = "unknown"))]
|
||||||
pub use validation_host::run_worker;
|
pub use validation_host::{run_worker, EXECUTION_TIMEOUT_SEC};
|
||||||
pub use validation_host::EXECUTION_TIMEOUT_SEC;
|
|
||||||
|
|
||||||
mod validation_host;
|
mod validation_host;
|
||||||
|
|
||||||
@@ -125,7 +124,7 @@ impl fmt::Display for ExternalitiesError {
|
|||||||
}
|
}
|
||||||
|
|
||||||
impl wasmi::HostError for ExternalitiesError {}
|
impl wasmi::HostError for ExternalitiesError {}
|
||||||
impl ::std::error::Error for ExternalitiesError {}
|
impl std::error::Error for ExternalitiesError {}
|
||||||
|
|
||||||
struct Resolver {
|
struct Resolver {
|
||||||
max_memory: u32, // in pages.
|
max_memory: u32, // in pages.
|
||||||
Reference in New Issue
Block a user