Avoid opt-level=z

Avoids https://github.com/rust-lang/rust/issues/75045, which you would otherwise hit when using the nRF HAL.
This commit is contained in:
Jonas Schievink
2020-08-27 16:34:24 +02:00
committed by GitHub
parent 8dd4c0dde5
commit 1f09510c74
+2 -2
View File
@@ -40,7 +40,7 @@ debug = 1
debug-assertions = true # <-
incremental = false
lto = 'fat'
opt-level = 'z' # <-
opt-level = 3 # <-
overflow-checks = true # <-
[profile.release]
@@ -65,4 +65,4 @@ codegen-units = 8
debug = false
debug-assertions = false
opt-level = 0
overflow-checks = false
overflow-checks = false