disable incremental compilation and parallel codegen in dev mode
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user