diff --git a/src/timestamp.rs b/src/timestamp.rs index 4a234cd9..a3f238f0 100644 --- a/src/timestamp.rs +++ b/src/timestamp.rs @@ -428,6 +428,7 @@ mod tests { use super::*; #[test] + #[cfg_attr(all(target_arch = "wasm32", target_vendor = "unknown", target_os = "unknown"), wasm_bindgen_test)] fn rfc4122_unix_does_not_panic() { // Ensure timestamp conversions never panic Timestamp::unix_to_rfc4122_ticks(u64::MAX, 0);