Skip to content

Commit 34355a0

Browse files
committed
Fix WASM builds
1 parent 58747d8 commit 34355a0

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# minify-html changelog
22

3+
## Pending
4+
5+
- Fix WASM builds.
6+
37
## 0.17.1
48

59
- Bump Ubuntu version for GitHub Actions.

minify-html-wasm/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,10 @@ wee_alloc = { version = "0.4.5", optional = true }
3333

3434
[dev-dependencies]
3535
wasm-bindgen-test = "0.3"
36+
37+
# https://github.com/WebAssembly/wasi-sdk/issues/254
38+
[package.metadata.wasm-pack.profile.release]
39+
wasm-opt = ["-Oz", "--enable-bulk-memory"]
40+
41+
[package.metadata.wasm-pack.profile.dev]
42+
wasm-opt = ["-O", "--enable-bulk-memory"]

0 commit comments

Comments
 (0)