Skip to content

Commit 9cc2d96

Browse files
committed
Fix WASM builds
1 parent 2392ef0 commit 9cc2d96

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
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.18.0
48

59
- Fix WASM builds.

minify-html-wasm/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ wee_alloc = { version = "0.4.5", optional = true }
3535
wasm-bindgen-test = "0.3"
3636

3737
# https://github.com/WebAssembly/wasi-sdk/issues/254
38+
# https://github.com/rust-lang/rust/issues/137315
3839
[package.metadata.wasm-pack.profile.release]
39-
wasm-opt = ["-Oz", "--enable-bulk-memory"]
40-
40+
wasm-opt = ["-Oz", "--all-features"]
4141
[package.metadata.wasm-pack.profile.dev]
42-
wasm-opt = ["-O", "--enable-bulk-memory"]
42+
wasm-opt = ["-O", "--all-features"]

0 commit comments

Comments
 (0)