Skip to content

Commit

Permalink
crates/sel4-panicking: Address warning
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Spinale <[email protected]>
  • Loading branch information
nspin committed Oct 28, 2024
1 parent a7c4ff0 commit 689b535
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/sel4-panicking/src/strategy/unwind/without_alloc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 689b535

Please sign in to comment.