add release profile

This commit is contained in:
2025-09-11 19:55:20 +02:00
parent e7895577ca
commit 3a24dcec53

View File

@@ -17,6 +17,16 @@ incremental = true
opt-level = 2
[profile.release]
# Explicitly disable LTO which the Xtensa codegen backend has issues
lto = false
strip = true
debug = false
overflow-checks = false
panic = "abort"
incremental = true
opt-level = "z"
[package.metadata.cargo_runner]
# The string `$TARGET_FILE` will be replaced with the path from cargo.
command = [