build: update target from wasi to wasip1 for TinyGo compilation

This commit is contained in:
deluan
2026-02-24 17:53:51 -05:00
parent 8b3ed88bcd
commit ac4382ed5e
+1 -1
View File
@@ -10,7 +10,7 @@ test:
build: build:
ifdef TINYGO ifdef TINYGO
tinygo build -opt=2 -scheduler=none -no-debug -o $(WASM_FILE) -target wasi -buildmode=c-shared . tinygo build -opt=2 -scheduler=none -no-debug -o $(WASM_FILE) -target wasip1 -buildmode=c-shared .
else else
GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $(WASM_FILE) . GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $(WASM_FILE) .
endif endif