Skip to content

Commit

Permalink
some build time flags to optmise binary size further (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sreyas-Sreelal committed Jan 27, 2024
1 parent a972125 commit 3ebddcc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,10 @@ winreg = "0.52.0"
# this feature is used for production builds or when `devPath` points to the filesystem
# DO NOT REMOVE!!
custom-protocol = ["tauri/custom-protocol"]

[profile.release]
panic = "abort"
codegen-units = 1
lto = true
opt-level = "z"
strip = true

0 comments on commit 3ebddcc

Please sign in to comment.