diff --git a/crates/sel4-panicking/src/strategy/unwind/without_alloc.rs b/crates/sel4-panicking/src/strategy/unwind/without_alloc.rs index fa4edbc7d..40a1fe7d8 100644 --- a/crates/sel4-panicking/src/strategy/unwind/without_alloc.rs +++ b/crates/sel4-panicking/src/strategy/unwind/without_alloc.rs @@ -56,6 +56,7 @@ pub(crate) fn start_panic(payload: Payload) -> i32 { assert!(CURRENT_PAYLOAD.replace(Some(payload)).is_none()); + #[allow(static_mut_refs)] unsafe { assert!(!CURRENT_EXCEPTION.exception_present); CURRENT_EXCEPTION = CurrentException {