rust/tests/ui/panic-runtime/auxiliary/panic-runtime-abort.rs
2023-01-11 09:32:08 +00:00

18 lines
310 B
Rust

// compile-flags:-C panic=abort
// no-prefer-dynamic
#![feature(panic_runtime)]
#![crate_type = "rlib"]
#![no_std]
#![panic_runtime]
#[no_mangle]
pub extern "C" fn __rust_maybe_catch_panic() {}
#[no_mangle]
pub extern "C" fn __rust_start_panic() {}
#[no_mangle]
pub extern "C" fn rust_eh_personality() {}