size improvements
This commit is contained in:
parent
29e1484931
commit
5c9614f6b2
@ -1,2 +1,3 @@
|
||||
[target.wasm32-unknown-unknown]
|
||||
rustflags = ["-C", "linker-plugin-lto=yes", "-C", "inline-threshold=275"]
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user