mirror of
https://github.com/fluencelabs/wasmer
synced 2025-03-19 09:30:52 +00:00
11 lines
215 B
Rust
11 lines
215 B
Rust
|
use std::env;
|
||
|
|
||
|
mod emtests;
|
||
|
|
||
|
static SPECTESTS_ENV_VAR: &str = "WASM_EMSCRIPTEN_GENERATE_EMTESTS";
|
||
|
|
||
|
fn main() {
|
||
|
if env::var(SPECTESTS_ENV_VAR).unwrap_or("0".to_string()) == "1" {
|
||
|
emtests::build();
|
||
|
}
|
||
|
}
|