Embedded, Rust Programming Language, System Programming.
panic_itm is the crate that provides both panic_handler and eh_personality. So let's import this crate in our Cargo.toml // Cargo.toml [dependencies] panic-itm = "0.4.2" And main.rs will look like this: #![no_main] #![no_std] // panic handler pub use panic_itm; use cortex_m_rt::entry; #[entry] fn