1
0
mirror of https://github.com/fluencelabs/wasmer synced 2025-03-30 14:31:07 +00:00
2019-05-17 12:09:31 -07:00

12 lines
216 B
Rust

use std::env;
mod wasitests;
static WASITESTS_ENV_VAR: &str = "WASM_WASI_GENERATE_WASITESTS";
fn main() {
if env::var(WASITESTS_ENV_VAR).unwrap_or("0".to_string()) == "1" {
wasitests::build();
}
}