Files
wasmtime/crates/test-programs/tests/wasm_tests/main.rs
Jakub Konka bbe2a797ba Fix feature-gating of test-programs (#612)
* Fix feature-gating of test-programs

This commit fixes bugs in enabling feature-gating of `test-programs`
which was introduced in #600. It turns out, #600 accidentally
disabled `test-programs` from ever running, and this commit fixes
that.

* Fix the CI
2019-11-21 13:52:15 +01:00

16 lines
264 B
Rust

#![cfg(feature = "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"));