about summary refs log tree commit diff
path: root/tests/ui/panic-runtime/auxiliary/panic-runtime-abort.rs
blob: 36db32f281a4f8455c35bf92d71705c9fcf9ebe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//@ 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() {}