Add lto in release.

This commit is contained in:
www-data 2019-08-25 21:18:46 +02:00
parent ad3f1acd35
commit 52bd76e77b

View file

@ -3,4 +3,9 @@
members = [
"backend",
"common",
]
]
[profile.release]
codegen-units = 1
lto = true
opt-level = 'z' # Optimize for size.