From 310e59f9b38cdb0a56b233f4eabe98e3c08317a3 Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Sat, 12 Sep 2020 13:26:15 +0300 Subject: [PATCH] Comment out unnecessary panic=abort for tests --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 77f4f9e..a47b552 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,9 @@ members = [ ] [profile.dev] -panic = "abort" # @todo try panic_rtt with feature jlink +# See https://github.com/rust-lang/cargo/issues/7359 about why panic=abort is not working here. +# It is still defined in the target JSON so not stricly necessary to specify it here anyway. +#panic = "abort" # @todo try panic_rtt with feature jlink opt-level = 's' # otherwise boot code will be mangled [profile.release]