mirror of
https://github.com/djibux/BoilR.git
synced 2026-12-01 01:41:59 +01:00
Optimize for size on release
This commit is contained in:
1 parent
dcbf77b610
commit
ecfca36431
1 file changed
+6
@@ -65,3 +65,9 @@ winreg = "^0.10.1"
|
|||||||
[features]
|
[features]
|
||||||
# This feature is enabled when building for a flatpak environment
|
# This feature is enabled when building for a flatpak environment
|
||||||
flatpak = []
|
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