From 27d46deedb831899149d084ad580c36b55e08904 Mon Sep 17 00:00:00 2001 From: Per Lindgren <per.lindgren@ltu.se> Date: Fri, 4 Jan 2019 08:56:39 +0100 Subject: [PATCH] Cargo.toml no nightly dep --- Cargo.toml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 52691d9..6da4855 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,10 +10,11 @@ cortex-m = "0.5.8" cortex-m-rt = "0.6.5" cortex-m-semihosting = "0.3.2" panic-halt = "0.2.0" -panic-abort = "0.3.1" +# panic-abort = "0.3.1" # Uncomment for the panic example. -# panic-itm = "0.4.0" +panic-semihosting = "0.5.1" +panic-itm = "0.4.0" # Uncomment for the allocator example. # alloc-cortex-m = "0.3.5" @@ -29,7 +30,11 @@ name = "app" test = false bench = false +[profile.dev] +panic = "abort" + [profile.release] codegen-units = 1 # better optimizations debug = true # symbols are nice and they don't increase the size on Flash lto = true # better optimizations +panic = "abort" -- GitLab