Skip to content

Commit 13f8fa0

Browse files
committed
chore: Add --enable-nontrapping-float-to-int for wasm
1 parent 888fbc3 commit 13f8fa0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/js/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ wasm-bindgen.workspace = true
2424

2525
# HOTFIX: To get wasm compile. See: https://github.com/rustwasm/wasm-pack/issues/1501#issuecomment-2898697188
2626
[package.metadata.wasm-pack.profile.release]
27-
wasm-opt = ["--enable-bulk-memory"]
27+
wasm-opt = ["--enable-bulk-memory", "--enable-nontrapping-float-to-int"]

0 commit comments

Comments
 (0)