disable incremental compilation and parallel codegen in dev mode

This commit is contained in:
Jorge Aparicio
2018-01-17 14:27:57 +01:00
parent 59b8b866c7
commit 3dc0cf09db

View File

@@ -16,6 +16,12 @@ cortex-m-semihosting = "0.2.0"
features = ["abort-on-panic"]
version = "0.3.12"
# disable both incremental compilation and parallel codegen to reduce the chances of running into
# rust-lang/rust#47074
[profile.dev]
codegen-units = 1
incremental = false
[profile.release]
debug = true
lto = true