This commit feature-gates `test-programs` as a workaround for `cargo test` not allowing for optional dev-dependencies. This commit addresses #595.
16 lines
265 B
Rust
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"));
|