We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fb70e2 commit e7d92d2Copy full SHA for e7d92d2
src/libstd/rt/unwind/seh.rs
@@ -8,9 +8,11 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
+use prelude::v1::*;
12
+
13
use any::Any;
14
use intrinsics;
-use prelude::v1::*;
15
+use libc::c_void;
16
17
pub unsafe fn panic(_data: Box<Any + Send + 'static>) -> ! {
18
intrinsics::abort();
@@ -19,3 +21,10 @@ pub unsafe fn panic(_data: Box<Any + Send + 'static>) -> ! {
19
21
pub unsafe fn cleanup(_ptr: *mut c_void) -> Box<Any + Send + 'static> {
20
22
23
}
24
25
+#[lang = "eh_personality"]
26
+#[no_mangle]
27
+pub extern fn rust_eh_personality() {}
28
29
30
+pub extern fn rust_eh_personality_catch() {}
0 commit comments