]>
Commit | Line | Data |
---|---|---|
74b04a01 XL |
1 | #![crate_type = "rlib"] |
2 | #![feature(lang_items)] | |
3 | #![feature(panic_unwind)] | |
4 | #![no_std] | |
5 | ||
6 | extern crate panic_unwind; | |
7 | ||
8 | #[panic_handler] | |
9 | pub fn panic_handler(_: &core::panic::PanicInfo) -> ! { | |
10 | loop {} | |
11 | } | |
12 | ||
13 | #[no_mangle] | |
14 | extern "C" fn __rust_drop_panic() -> ! { | |
15 | loop {} | |
16 | } | |
1b1a35ee XL |
17 | |
18 | #[no_mangle] | |
19 | extern "C" fn __rust_foreign_exception() -> ! { | |
20 | loop {} | |
21 | } | |
f2b60f7d FG |
22 | |
23 | #[lang = "eh_personality"] | |
24 | fn eh_personality() { | |
25 | loop {} | |
26 | } |