mirror of
https://github.com/exoticorn/microw8.git
synced 2026-01-20 19:26:43 +01:00
7 lines
218 B
Bash
Executable File
7 lines
218 B
Bash
Executable File
#!/bin/bash
|
|
|
|
tinygo build -o cart.wasm -target target.json ./main.go
|
|
uw8 filter-exports cart.wasm cart.wasm && \
|
|
#wasm-opt -Oz --fast-math --strip-producers -o cart.wasm cart.wasm && \
|
|
uw8 pack -l 9 cart.wasm cart.uw8
|