GoAT WebAssembly provenance
- Upstream:
github.com/v0.5.1blampe/ goat - Upstream tag commit:
6d4db359c601eae6efa1fcd94601fa1793e114d5 - Upstream license: MIT (see the upstream module license)
- Build image:
tinygo/tinygo:0.39.0 - Build target:
wasm-unknown, schedulernone - Canonical artifact SHA-256:
383ba12c55c0b10f9bed669c74f24170032f0bad22e77aa9a1b4593942795ebb
The module is intentionally compiled with TinyGo's wasm-unknown target and
the no-scheduler mode. A standard Go GOOS=js GOARCH=wasm binary imports the
gojs host module and requires wasm_exec.js, which is not a precompiled-Wasm
Worker boundary. The only semantic vendored adaptation is the iterator
boundary: the four goroutine/channel iterators in svg/
(UpDownMinor, LeftRightMinor, DiagDown, and DiagUp) return slices in
the same traversal order. Their existing range call sites use
for _, value := range in ascii/, ascii/,
svg/, utf8/, and utf8/. The
vendored source tree is derived from the Go module checksum recorded in
go.sum with whitespace normalized; the complete repository fixture renders
byte-for-byte identically to the pinned Docker binary.