]> git.lizzy.rs Git - rust.git/blobdiff - src/libpanic_unwind/lib.rs
Rollup merge of #67734 - XAMPPRocky:master, r=skade
[rust.git] / src / libpanic_unwind / lib.rs
index e721162edc067b789edf572623e09699fe970166..6383ae39fb6dba0c6795de05873964bc528341bb 100644 (file)
@@ -26,6 +26,7 @@
 #![feature(staged_api)]
 #![feature(std_internals)]
 #![feature(unwind_attributes)]
+#![feature(abi_thiscall)]
 #![panic_runtime]
 #![feature(panic_runtime)]
 
     }
 }
 
+extern "C" {
+    /// Handler in libstd called when a panic object is dropped outside of
+    /// `catch_unwind`.
+    fn __rust_drop_panic() -> !;
+}
+
 mod dwarf;
 
 // Entry point for catching an exception, implemented using the `try` intrinsic