mirror of
https://github.com/djibux/BoilR.git
synced 2026-09-01 05:53:41 +02:00
Optimize for size on release
This commit is contained in:
@@ -65,3 +65,9 @@ winreg = "^0.10.1"
|
||||
[features]
|
||||
# This feature is enabled when building for a flatpak environment
|
||||
flatpak = []
|
||||
|
||||
[profile.release]
|
||||
strip = true # Automatically strip symbols from the binary.
|
||||
opt-level = "z" # Optimize for size.
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
Reference in New Issue
Block a user