Cargo.toml: flip real optimizations on

Since I don't expect to pull in any more significant dependency, and we
are far from running out of the 1MB compressed limitation of code size,
we should be perfectly fine flipping this on instead of sticking with
optimizing for size
This commit is contained in:
Peter Cai 2020-04-12 10:46:05 +08:00
parent 90ef03daaa
commit 84ff757700
No known key found for this signature in database
GPG key ID: 71F5FB4E4F3FD54F

View file

@ -61,6 +61,5 @@ wee_alloc = { version = "0.4.2", optional = true }
wasm-bindgen-test = "0.2" wasm-bindgen-test = "0.2"
[profile.release] [profile.release]
# Tell `rustc` to optimize for small code size. opt-level = 3
opt-level = "s"
lto = true lto = true