diff --git a/tracing/src/lib.rs b/tracing/src/lib.rs index 6a919d7bfb..33e33aa600 100644 --- a/tracing/src/lib.rs +++ b/tracing/src/lib.rs @@ -1005,7 +1005,7 @@ pub mod __macro_support { /// without warning. pub const fn new(meta: &'static Metadata<'static>) -> Self { Self { - interest: AtomicUsize::new(0xDEADFACED), + interest: AtomicUsize::new(0xDEAD), meta, registration: Once::new(), } diff --git a/tracing/tests/macros_redefined_core.rs b/tracing/tests/macros_redefined_core.rs index 5932c06553..d830dcdb02 100644 --- a/tracing/tests/macros_redefined_core.rs +++ b/tracing/tests/macros_redefined_core.rs @@ -2,19 +2,16 @@ extern crate self as core; use tracing::{enabled, event, span, Level}; -#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] #[test] fn span() { span!(Level::DEBUG, "foo"); } -#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] #[test] fn event() { event!(Level::DEBUG, "foo"); } -#[cfg_attr(target_arch = "wasm32", wasm_bindgen_test::wasm_bindgen_test)] #[test] fn enabled() { enabled!(Level::DEBUG);