From c5a7c117bd10a47ecd41b78b6e1f3784bb9f5897 Mon Sep 17 00:00:00 2001
From: Per Lindgren <per.lindgren@ltu.se>
Date: Mon, 4 Feb 2019 18:45:41 +0100
Subject: [PATCH] cargo fix

---
 Cargo.toml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 030ea8f..5608221 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -55,11 +55,8 @@ name = "app"
 test = false
 bench = false
 
-[profile.dev]
-incremental = false
-codegen-units = 1
-
 [profile.release]
+incremental = false # disable incremental build to allow lto on nightly
 codegen-units = 1   # better optimizations
 debug = true        # symbols are nice and they don't increase the size on Flash
 lto = true          # better optimizations
-- 
GitLab