about summary refs log tree commit diff
path: root/library/panic_unwind/src/miri.rs
diff options
context:
space:
mode:
Diffstat (limited to 'library/panic_unwind/src/miri.rs')
-rw-r--r--library/panic_unwind/src/miri.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/panic_unwind/src/miri.rs b/library/panic_unwind/src/miri.rs
index a86f0e91eef..ec48b1105ab 100644
--- a/library/panic_unwind/src/miri.rs
+++ b/library/panic_unwind/src/miri.rs
@@ -7,7 +7,7 @@ use core::any::Any;
 // Must be pointer-sized.
 type Payload = Box<Box<dyn Any + Send>>;
 
-extern "Rust" {
+unsafe extern "Rust" {
     /// Miri-provided extern function to begin unwinding.
     fn miri_start_unwind(payload: *mut u8) -> !;
 }