diff --git a/src/lib.rs b/src/lib.rs index 53264ad..ef2769d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -165,10 +165,8 @@ pub struct Event { unsafe impl Send for Event {} unsafe impl Sync for Event {} -#[cfg(feature = "std")] -impl std::panic::UnwindSafe for Event {} -#[cfg(feature = "std")] -impl std::panic::RefUnwindSafe for Event {} +impl core::panic::UnwindSafe for Event {} +impl core::panic::RefUnwindSafe for Event {} impl fmt::Debug for Event { fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {