We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
README.md
1 parent 39b2779 commit 4afc4bcCopy full SHA for 4afc4bc
README.md
@@ -30,7 +30,13 @@ Rebuilding the wasm can be done with the commands:
30
31
```bash
32
cd wasm
33
-cargo build --release --target wasm32-unknown-unknown
+
34
+cargo +nightly build \
35
+ --release \
36
+ --target wasm32-unknown-unknown \
37
+ -Z build-std=std,panic_abort \
38
+ -Z build-std-features=panic_immediate_abort
39
40
# If wasm-opt is unavailable, copying the file is fine.
41
wasm-opt target/wasm32-unknown-unknown/release/momo_watt.wasm -Oz \
42
--strip-debug --simplify-globals --vacuum -o ../src/momo.wasm
0 commit comments