diff options
Diffstat (limited to 'asm/lib.rs')
-rw-r--r-- | asm/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -126,6 +126,7 @@ shims! { /// handler gets linked in, this causes a linker error. We always build this file with optimizations /// enabled, but even without them the panic handler should never be linked in. #[panic_handler] +#[link_section = ".text.asm_panic_handler"] fn panic(_: &core::panic::PanicInfo) -> ! { extern "C" { #[link_name = "cortex-m internal error: panic handler not optimized out, please file an \ |