From 48f7c460200f94e85e004c3c68b9fb62e9c27ef9 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Wed, 24 Oct 2018 02:01:16 +0200 Subject: [PATCH] Set spectests to be only imported in testing --- src/main.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.")]