cargo: enable LTO

This commit is contained in:
Peter Cai 2020-04-07 16:32:44 +08:00
parent ef709c1dd9
commit 7c102af848
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
1 changed files with 1 additions and 0 deletions

View File

@ -43,3 +43,4 @@ wasm-bindgen-test = "0.2"
[profile.release]
# Tell `rustc` to optimize for small code size.
opt-level = "s"
lto = true