Skip to content

Commit 9f512c3

Browse files
committed
Add optimize option to wasm
1 parent d2baf93 commit 9f512c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/devup-ui-wasm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ rstest = "0.26.1"
4141
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(tarpaulin_include)'] }
4242

4343
[package.metadata.wasm-pack.profile.release]
44-
wasm-opt = ["-Oz"]
44+
wasm-opt = ["-Oz", "--enable-bulk-memory", "--enable-nontrapping-float-to-int"]

0 commit comments

Comments
 (0)