add build optimizations
This commit is contained in:
parent
349f7ae965
commit
b83664dfce
1 changed files with 7 additions and 1 deletions
|
|
@ -24,3 +24,9 @@ tauri = { version = "1.4.0", features = [] }
|
|||
# If you use cargo directly instead of tauri's cli you can use this feature flag to switch between tauri's `dev` and `build` modes.
|
||||
# DO NOT REMOVE!!
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[profile.release]
|
||||
panic = "abort"
|
||||
codegen-units = 1
|
||||
lto = true
|
||||
opt-level = "s"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue