optimize release builds for size
This commit is contained in:
parent
56c76eaee0
commit
3e305baf87
|
@ -15,3 +15,6 @@ opt-level = 1
|
||||||
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
|
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
|
||||||
[profile.dev.package."*"]
|
[profile.dev.package."*"]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.release]
|
||||||
|
opt-level = 'z'
|
||||||
|
|
Loading…
Reference in a new issue