build/wasm: update script to build TinyGo v0.38.0, update resulting js-pow-sha256 wasm artifact

This commit is contained in:
WeebDataHoarder
2025-07-03 02:41:50 +02:00
parent 8323536e84
commit e1a318bc38
2 changed files with 3 additions and 4 deletions

View File

@@ -9,18 +9,17 @@ mkdir -p .bin/ 2>/dev/null
# Setup tinygo first
if [[ ! -d .bin/tinygo ]]; then
git clone --depth=1 --branch v0.37.0 https://github.com/tinygo-org/tinygo.git .bin/tinygo
git clone --depth=1 --branch v0.38.0 https://github.com/tinygo-org/tinygo.git .bin/tinygo
pushd .bin/tinygo
git submodule update --init --recursive
go mod download -x && go mod verify
make binaryen STATIC=1
make wasi-libc
make llvm-source
make llvm-build
make binaryen STATIC=1
make build/release
else
pushd .bin/tinygo