mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-15 07:05:41 +00:00
12 lines
212 B
Rust
12 lines
212 B
Rust
use std::env;
|
|
|
|
mod emtests;
|
|
|
|
static EMTESTS_ENV_VAR: &str = "WASM_EMSCRIPTEN_GENERATE_EMTESTS";
|
|
|
|
fn main() {
|
|
if env::var(EMTESTS_ENV_VAR).unwrap_or("0".to_string()) == "1" {
|
|
emtests::build();
|
|
}
|
|
}
|