From 7b193786d622fba3ac2959c78b7b51f61194aca6 Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Sun, 19 Nov 2017 03:57:13 +0100 Subject: [PATCH] force a single codegen unit on the dev profile to work around problems with several codegen units, which is now the default for unoptimized builds --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index e4e2fda..54bec51 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,12 +6,15 @@ keywords = ["arm", "cortex-m", "template"] license = "MIT OR Apache-2.0" name = "cortex-m-quickstart" repository = "https://github.com/japaric/cortex-m-quickstart" -version = "0.1.8" +version = "0.1.9" [dependencies] cortex-m = "0.2.7" cortex-m-rt = "0.2.3" +[profile.dev] +codegen-units = 1 + [profile.release] lto = true debug = true