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
+1 -1
View File
@@ -40,7 +40,7 @@ debug = 1
debug-assertions = true # <- debug-assertions = true # <-
incremental = false incremental = false
lto = 'fat' lto = 'fat'
opt-level = 'z' # <- opt-level = 3 # <-
overflow-checks = true # <- overflow-checks = true # <-
[profile.release] [profile.release]