File: panic-handler-export-name.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-- 103 bytes parent folder | download
1
2
3
4
5
6
7
8
#![no_main]
#![no_std]

#[defmt::panic_handler]
#[export_name = "hello"]
fn foo() -> ! {
    loop {}
}