chore: optimize release profile with panic=abort and fat LTO

This commit is contained in:
t8y2 2026-05-02 22:54:19 +08:00
parent 37e1f78d3d
commit db31a7c45e
1 changed files with 2 additions and 1 deletions

View File

@ -16,8 +16,9 @@ crate-type = ["staticlib", "cdylib", "rlib"]
tauri-build = { version = "2.5.6", features = [] }
[profile.release]
panic = "abort"
strip = true
lto = "thin"
lto = true
codegen-units = 1
opt-level = "s"