Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit f0aa8b3

Browse files
authored
Merge pull request #64 from tetratelabs/fix-wasi-target
fix make build.example: target wasi
2 parents 970160e + 2ea0fa9 commit f0aa8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ help:
77
grep -E '^[a-z0-9A-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
88

99
build.example:
10-
tinygo build -o ./examples/${name}/main.go.wasm -target=wasm -wasm-abi=generic ./examples/${name}/main.go
10+
tinygo build -o ./examples/${name}/main.go.wasm -target=wasi -wasm-abi=generic ./examples/${name}/main.go
1111

1212
build.examples:
1313
find ./examples -type f -name "main.go" | xargs -Ip tinygo build -o p.wasm -target=wasi -wasm-abi=generic p

0 commit comments

Comments
 (0)