Files
wasmtime/crates/test-programs/tests/wasm_tests/main.rs
Jakub Konka a58709d99e Feature-gate test-programs
This commit feature-gates `test-programs` as a workaround for
`cargo test` not allowing for optional dev-dependencies.

This commit addresses #595.
2019-11-21 07:01:53 +01:00

16 lines
265 B
Rust

#![cfg(features = "test-programs")]
mod runtime;
mod utils;
use std::sync::Once;
static LOG_INIT: Once = Once::new();
fn setup_log() {
LOG_INIT.call_once(|| {
pretty_env_logger::init();
})
}
include!(concat!(env!("OUT_DIR"), "/wasi_tests.rs"));