]> git.lizzy.rs Git - rust.git/blobdiff - src/libpanic_unwind/lib.rs
Auto merge of #65134 - davidtwco:issue-19834-improper-ctypes-in-extern-C-fn, r=rkruppe
[rust.git] / src / libpanic_unwind / lib.rs
index d2a0ef7b1dde1cce1e738918638c68266305e0cd..7de347446ada1c34b6088ee85357a93479f09851 100644 (file)
@@ -69,6 +69,7 @@
 // hairy and tightly coupled, for more information see the compiler's
 // implementation of this.
 #[no_mangle]
+#[allow(improper_ctypes)]
 pub unsafe extern "C" fn __rust_maybe_catch_panic(f: fn(*mut u8),
                                                   data: *mut u8,
                                                   data_ptr: *mut usize,