size improvements

This commit is contained in:
Simon Gardling 2022-04-26 19:39:17 -04:00
parent 29e1484931
commit 5c9614f6b2
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,3 @@
[target.wasm32-unknown-unknown]
rustflags = ["-C", "linker-plugin-lto=yes", "-C", "inline-threshold=275"]

View File

@ -18,6 +18,9 @@ codegen-units = 1
opt-level = "z" #optimize for size
lto = "fat"
strip = true
panic = "abort"
overflow-checks = false
debug-assertions = false
[profile.dev]
debug = true