]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/issue-69368/a.rs
Rollup merge of #106670 - albertlarsan68:check-docs-in-pr-ci, r=Mark-Simulacrum
[rust.git] / tests / run-make-fulldeps / issue-69368 / a.rs
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 }
17
18 #[no_mangle]
19 extern "C" fn __rust_foreign_exception() -> ! {
20     loop {}
21 }
22
23 #[lang = "eh_personality"]
24 fn eh_personality() {
25     loop {}
26 }