Skip to content

Commit

Permalink
Merge branch 'v0.1.x' into eliza/backport-2058
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkw committed Apr 8, 2022
2 parents 14cc4de + 38da7ea commit b77cc60
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion tracing/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
Expand Down
3 changes: 0 additions & 3 deletions tracing/tests/macros_redefined_core.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b77cc60

Please sign in to comment.