We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe059c1 commit 9196eb3Copy full SHA for 9196eb3
example/mini_core.rs
@@ -521,10 +521,27 @@ fn panic_cannot_unwind() -> ! {
521
}
522
523
#[lang = "eh_personality"]
524
-fn eh_personality() -> ! {
+// FIXME personality signature depends on target
525
+fn eh_personality(
526
+ _version: i32,
527
+ _actions: i32,
528
+ _exception_class: u64,
529
+ _exception_object: *mut (),
530
+ _context: *mut (),
531
+) -> i32 {
532
loop {}
533
534
535
+#[lang = "panic_in_cleanup"]
536
+fn panic_in_cleanup() -> ! {
537
+ loop {}
538
+}
539
+
540
+#[link(name = "gcc_s")]
541
+extern "C" {
542
+ fn _Unwind_Resume(exc: *mut ()) -> !;
543
544
545
#[lang = "drop_in_place"]
546
#[allow(unconditional_recursion)]
547
pub unsafe fn drop_in_place<T: ?Sized>(to_drop: *mut T) {
0 commit comments