Commit 2feb1d19 authored by Bastian Köcher's avatar Bastian Köcher Committed by asynchronous rob
Browse files

Fix compilation in wasm (#465)

Also fix the weird file structure by making `wasm_executor.rs` ->
`wasm_executor/mod.rs`.
parent 318889f0
Pipeline #53546 canceled with stages
......@@ -32,8 +32,7 @@ use super::{
UpwardMessage, IncomingMessage};
#[cfg(not(target_os = "unknown"))]
pub use validation_host::run_worker;
pub use validation_host::EXECUTION_TIMEOUT_SEC;
pub use validation_host::{run_worker, EXECUTION_TIMEOUT_SEC};
mod validation_host;
......@@ -125,7 +124,7 @@ impl fmt::Display for ExternalitiesError {
}
impl wasmi::HostError for ExternalitiesError {}
impl ::std::error::Error for ExternalitiesError {}
impl std::error::Error for ExternalitiesError {}
struct Resolver {
max_memory: u32, // in pages.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment