File: panic-handler-no-mangle.rs

package info (click to toggle)
rust-defmt 0.3.10-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 360 kB
  • sloc: makefile: 2
file content (8 lines) | stat: -rw-r--r-- 93 bytes parent folder | download
1
2
3
4
5
6
7
8
#![no_main]
#![no_std]

#[defmt::panic_handler]
#[no_mangle]
fn panic() -> ! {
    loop {}
}