Skip to content

Commit 52f2d0e

Browse files
committed
build: Fix wasm-opt error
1 parent 72957a7 commit 52f2d0e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crates/wasm/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ keywords = ["crypto", "scrypt"]
1818
categories = ["cryptography", "wasm"]
1919
include = ["/LICENSES", "/README.md", "/src"]
2020

21+
[package.metadata.wasm-pack.profile.release]
22+
wasm-opt = ["--enable-bulk-memory", "--enable-nontrapping-float-to-int"]
23+
2124
[lib]
2225
crate-type = ["cdylib", "rlib"]
2326

0 commit comments

Comments
 (0)