Files
wasmtime/crates/test-programs/tests/wasm_tests/main.rs
Roman Volosatovs 95c74ef246 feat: rely on tracing-subscriber in tests (#4950)
`tracing` crate is already used within the codebase, this change allows
developers to benefit from that functionality when running and debugging
tests

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>

Signed-off-by: Roman Volosatovs <rvolosatovs@riseup.net>
2022-09-23 22:10:00 +00:00

14 lines
248 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(tracing_subscriber::fmt::init)
}
include!(concat!(env!("OUT_DIR"), "/wasi_tests.rs"));