From 469d134325d37fbc011963145830f76054ef289d Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sun, 11 Dec 2022 20:48:49 +0100 Subject: [PATCH] faster build after code change. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index b2bf3ee..c4e791b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,5 +23,9 @@ rayon = { version = "1.5.3", optional = true } stm32-data-serde = { version = "0.1.0", path = "stm32-data-serde" } ref_thread_local = "0.1.1" +# Optimize for dev experience: shortest "build+run" time after making a small change. [profile.release] debug = true +incremental = true +panic = 'abort' +opt-level = 2 \ No newline at end of file