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
This commit is contained in:
Jorge Aparicio
2017-11-19 03:57:13 +01:00
parent 9c37db3d3b
commit 7b193786d6

View File

@@ -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