optimize release builds for size

This commit is contained in:
yuni 2024-03-17 14:55:16 +01:00
parent 56c76eaee0
commit 3e305baf87

View file

@ -15,3 +15,6 @@ opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[profile.release]
opt-level = 'z'