Sign in
rust
/
rust
/
8a7e1d75b2e2f4a2e89420130bca8d8d97f9074e
/
.
/
tests
/
ui
/
panic-runtime
/
auxiliary
/
panic-runtime-lang-items.rs
blob: 1a4346a410b47180c44a9019cf9aaf13a7682388 [
file
]
//@ no-prefer-dynamic
#![
crate_type
=
"rlib"
]
#![
no_std
]
#![
feature
(
lang_items
)]
use
core
::
panic
::
PanicInfo
;
#[
panic_handler
]
fn
panic_impl
(
info
:
&
PanicInfo
)
->
!
{
loop
{}
}
#[
lang
=
"eh_personality"
]
fn
eh_personality
()
{}