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:
+2
-2
@@ -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]
|
||||||
@@ -65,4 +65,4 @@ codegen-units = 8
|
|||||||
debug = false
|
debug = false
|
||||||
debug-assertions = false
|
debug-assertions = false
|
||||||
opt-level = 0
|
opt-level = 0
|
||||||
overflow-checks = false
|
overflow-checks = false
|
||||||
|
|||||||
Reference in New Issue
Block a user