aboutsummaryrefslogtreecommitdiff
path: root/cortex-m-rt/src/lang_items.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cortex-m-rt/src/lang_items.rs')
-rw-r--r--cortex-m-rt/src/lang_items.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/cortex-m-rt/src/lang_items.rs b/cortex-m-rt/src/lang_items.rs
index 7d7a598..571a8a5 100644
--- a/cortex-m-rt/src/lang_items.rs
+++ b/cortex-m-rt/src/lang_items.rs
@@ -1,10 +1,3 @@
-/// Default panic handler
-#[cfg(feature = "abort-on-panic")]
-#[lang = "panic_fmt"]
-unsafe extern "C" fn panic_fmt(_: ::core::fmt::Arguments, _: &'static str, _: u32, _: u32) -> ! {
- ::core::intrinsics::abort()
-}
-
// Lang item required to make the normal `main` work in applications
//
// This is how the `start` lang item works: