yachtpit release profile optimized for performance

This commit is contained in:
geoffsee
2025-07-02 20:01:37 -04:00
parent 6f94c38080
commit 7d2715e3cb

View File

@@ -17,7 +17,7 @@ opt-level = 1
# This is used by trunk as it doesn't support custom profiles: https://github.com/trunk-rs/trunk/issues/605
# xbuild also uses this profile for building android AABs because I couldn't find a configuration for it
[profile.release]
opt-level = "z"
opt-level = "s"
lto = 'thin'
codegen-units = 1
strip = true