2019-11-25 18:54:05 +00:00
|
|
|
// SPDX-License-Identifier: MIT OR Apache-2.0
|
2019-09-21 22:32:54 +00:00
|
|
|
//
|
2023-09-15 12:22:15 +00:00
|
|
|
// Copyright (c) 2018-2023 Andre Richter <andre.o.richter@gmail.com>
|
2019-09-21 22:32:54 +00:00
|
|
|
|
|
|
|
//! A panic handler that infinitely waits.
|
|
|
|
|
|
|
|
use core::panic::PanicInfo;
|
|
|
|
|
2022-04-08 20:24:12 +00:00
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
// Private Code
|
|
|
|
//--------------------------------------------------------------------------------------------------
|
|
|
|
|
2019-09-21 22:32:54 +00:00
|
|
|
#[panic_handler]
|
|
|
|
fn panic(_info: &PanicInfo) -> ! {
|
2020-12-26 23:20:24 +00:00
|
|
|
unimplemented!()
|
2019-09-21 22:32:54 +00:00
|
|
|
}
|