adjust compile stuff
This commit is contained in:
parent
0a0ac6babf
commit
d35b814047
@ -8,18 +8,25 @@ rust-version = "1.71"
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
||||||
lto = "thin"
|
#lto = "thin"
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
strip = false
|
strip = false
|
||||||
codegen-units = 1
|
#codegen-units = 1
|
||||||
|
debug = true
|
||||||
|
overflow-checks = true
|
||||||
|
panic = "unwind"
|
||||||
|
incremental = true
|
||||||
|
|
||||||
[profile.dev]
|
[profile.dev]
|
||||||
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
# Explicitly disable LTO which the Xtensa codegen backend has issues
|
||||||
lto = "thin"
|
#lto = "thin"
|
||||||
debug = true # Symbols are nice and they don't increase the size on Flash
|
|
||||||
opt-level = "s"
|
opt-level = "s"
|
||||||
strip = false
|
strip = false
|
||||||
codegen-units = 1
|
#codegen-units = 1
|
||||||
|
debug = true
|
||||||
|
overflow-checks = true
|
||||||
|
panic = "unwind"
|
||||||
|
incremental = true
|
||||||
|
|
||||||
[package.metadata.cargo_runner]
|
[package.metadata.cargo_runner]
|
||||||
# The string `$TARGET_FILE` will be replaced with the path from cargo.
|
# The string `$TARGET_FILE` will be replaced with the path from cargo.
|
||||||
|
Loading…
Reference in New Issue
Block a user