Skip to content

Commit 52c6fb3

Browse files
committed
fix wasm-opt error
1 parent 6814e24 commit 52c6fb3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

proj4rs/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,6 @@ name = "rsproj"
6565
[package.metadata.doc.rs]
6666
all-features = true
6767

68+
[package.metadata.wasm-pack.profile.release]
69+
# Fix 'table.fill requires bulk-memory on' error
70+
wasm-opt = ["-O", "--enable-bulk-memory"]

0 commit comments

Comments
 (0)