rust/tests/run-make-fulldeps/issue-69368/a.rs
2023-01-11 09:32:08 +00:00

27 lines
410 B
Rust

#![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 {}
}
#[no_mangle]
extern "C" fn __rust_foreign_exception() -> ! {
loop {}
}
#[lang = "eh_personality"]
fn eh_personality() {
loop {}
}