Skip to content

Commit d1b1c0f

Browse files
committed
Fix wasm build failure
1 parent 9f90796 commit d1b1c0f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

playground/Cargo.toml

+5
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,8 @@ opt-level = 3
4141

4242
[profile.release.build-override]
4343
opt-level = 3
44+
45+
# Workaround for Rust 1.87.0
46+
# https://github.com/rust-lang/rust/issues/141048
47+
[package.metadata.wasm-pack.profile.release]
48+
wasm-opt = ["-O","--enable-bulk-memory", "--enable-mutable-globals"]

0 commit comments

Comments
 (0)