diff --git a/src/main.rs b/src/main.rs index 76bd2ae22..7581a176a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,8 +37,9 @@ use wabt::wat2wasm; mod macros; pub mod common; pub mod integrations; -pub mod spectests; pub mod webassembly; +#[cfg(test)] +mod spectests; #[derive(Debug, StructOpt)] #[structopt(name = "wasmer", about = "WASM execution runtime.")]