mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 14:25:32 +00:00
11 lines
220 B
Rust
11 lines
220 B
Rust
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();
|
|
}
|
|
} |