Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Fix compilation in wasm (#465)
Browse files Browse the repository at this point in the history
Also fix the weird file structure by making `wasm_executor.rs` ->
`wasm_executor/mod.rs`.
  • Loading branch information
bkchr authored and andresilva committed Oct 23, 2019
1 parent 72969c3 commit 6891004
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6891004

Please sign in to comment.