wasmer/lib/runtime/build/mod.rs

12 lines
221 B
Rust
Raw Normal View History

2019-01-09 04:50:37 +00:00
use std::env;
mod spectests;
static SPECTESTS_ENV_VAR: &str = "WASMER_RUNTIME_GENERATE_SPECTESTS";
fn main() {
if env::var(SPECTESTS_ENV_VAR).unwrap_or("0".to_string()) == "1" {
spectests::build();
}
2019-01-11 03:59:57 +00:00
}