From 4d65bf687102470219909fe7aad801aa42ebfc39 Mon Sep 17 00:00:00 2001 From: Harry Barber Date: Sun, 6 Aug 2023 21:36:54 +0100 Subject: [PATCH] add extern crate wasm_bindgen_test --- tracing/tests/macros.rs | 2 ++ 1 file changed, 2 insertions(+) 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,