Sign in
rust
/
rust
/
dc0ec741a8a06b0c3bb5596fbb00a4e29fad3877
/
.
/
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
()
{}