2020-03-03 00:00:00 +00:00
|
|
|
#![crate_type = "rlib"]
|
|
|
|
#![feature(lang_items)]
|
|
|
|
#![feature(panic_unwind)]
|
|
|
|
#![no_std]
|
|
|
|
|
|
|
|
extern crate panic_unwind;
|
|
|
|
|
|
|
|
#[panic_handler]
|
|
|
|
pub fn panic_handler(_: &core::panic::PanicInfo) -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "C" fn __rust_drop_panic() -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
2020-03-21 07:50:38 +00:00
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "C" fn __rust_foreign_exception() -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
2022-02-09 19:22:35 +00:00
|
|
|
|
|
|
|
#[lang = "eh_personality"]
|
|
|
|
fn eh_personality() {
|
|
|
|
loop {}
|
|
|
|
}
|