diff --git a/Makefile b/Makefile index c6cccc5..bfc51d1 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,7 @@ test: build: 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 GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $(WASM_FILE) . endif