summaryrefslogtreecommitdiffstats
path: root/src/test/run-make-fulldeps/issue-69368/a.rs
blob: a54f429550e7435ed53fd6bc9f6361efceb9ee07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#![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 {}
}