Skip to content

Commit 6839359

Browse files
committed
prepare release
1 parent d9c1590 commit 6839359

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ Rebuilding the wasm can be done with the commands:
3232
cd wasm
3333
cargo build --release --target wasm32-unknown-unknown
3434
# If wasm-opt is unavailable, copying the file is fine.
35-
wasm-opt --strip-debug -Oz target/wasm32-unknown-unknown/release/momo.wasm -o ../src/momo.wasm
35+
wasm-opt target/wasm32-unknown-unknown/release/momo_watt.wasm -Oz \
36+
--strip-debug --simplify-globals --vacuum -o ../src/momo.wasm
3637
```
3738

3839
You might need to add the `wasm32-unknown-unknown` target to your

src/momo.wasm

-79.1 KB
Binary file not shown.

wasm/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ version = "0.2.2"
1212

1313
[profile.release]
1414
opt-level = "z"
15-
codegen_units = 1
15+
codegen-units = 1
1616
lto = true
1717

1818
[lib]
@@ -24,4 +24,4 @@ proc-macro2 = { git = "https://github.com/dtolnay/watt" }
2424
[dependencies]
2525
syn = { version = "1.0", features = ["full", "fold"] }
2626
quote = "1.0"
27-
proc-macro2 = "=1.0.27" # Temporary hack as watt is left at .27
27+
proc-macro2 = "1.0"

0 commit comments

Comments
 (0)