Make the WASM build profile even smaller
This commit is contained in:
@@ -45,6 +45,8 @@ strip = "symbols"
|
|||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
||||||
[profile.wasm-release]
|
[profile.wasm-release]
|
||||||
|
codegen-units = 1
|
||||||
inherits = "release"
|
inherits = "release"
|
||||||
|
lto = "fat"
|
||||||
opt-level = "z"
|
opt-level = "z"
|
||||||
strip = "debuginfo"
|
strip = "symbols"
|
||||||
|
|||||||
Reference in New Issue
Block a user