Skip to content

Commit

Permalink
Fix compilation in wasm (paritytech#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 rphmeier committed Oct 8, 2019
1 parent 318889f commit 2feb1d1
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 2feb1d1

Please sign in to comment.