diff --git a/tracing/tests/macros.rs b/tracing/tests/macros.rs index 423984da27..52e74cd897 100644 --- a/tracing/tests/macros.rs +++ b/tracing/tests/macros.rs @@ -2,6 +2,8 @@ // We call all macros in this module with `no_implicit_prelude` to ensure they do not depend on the standard prelude. #![no_implicit_prelude] extern crate tracing; +#[cfg(target_arch = "wasm32")] +extern crate wasm_bindgen_test; use tracing::{ callsite, debug, debug_span, enabled, error, error_span, event, event_enabled, info, info_span,