Sign in
rust
/
rust
/
refs/heads/try-perf
/
.
/
library
/
compiler-builtins
/
crates
/
panic-handler
/
src
/
lib.rs
blob: f4d7c839740b5e05178a7b9e26f9dfebb80d10ec [
file
] [
log
] [
blame
]
//! This is needed for tests on targets that require a `#[panic_handler]` function
#![
no_std
]
#[
panic_handler
]
fn
panic
(
_
:
&
core
::
panic
::
PanicInfo
<
'
_
>)
->
!
{
loop
{}
}