package
0.0.7
Repository: https://github.com/gaukas/watm.git
Documentation: pkg.go.dev

# README

Example: plain.wasm

This example shows how to build a minimal WATM with TinyGo which passes through the received/sent data without any processing.

Build

Go 1.20/1.21 is required to build this example until TinyGo supports Go 1.22.

Debug

tinygo build -o plain.wasm -target=wasi -scheduler=none -gc=conservative .

Release

tinygo build -o plain.wasm -target=wasi -no-debug -scheduler=none -gc=conservative .