add release profile

This commit is contained in:
ju6ge 2025-09-11 19:55:20 +02:00
parent e7895577ca
commit 3a24dcec53
Signed by: judge
GPG Key ID: 6512C30DD8E017B5

View File

@ -17,6 +17,16 @@ incremental = true
opt-level = 2 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] [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.
command = [ command = [