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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user