2020-03-02 18:00:00 -06: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 02:50:38 -05:00
|
|
|
|
|
|
|
#[no_mangle]
|
|
|
|
extern "C" fn __rust_foreign_exception() -> ! {
|
|
|
|
loop {}
|
|
|
|
}
|
2022-02-09 13:22:35 -06:00
|
|
|
|
|
|
|
#[lang = "eh_personality"]
|
|
|
|
fn eh_personality() {
|
|
|
|
loop {}
|
|
|
|
}
|