Skip to content

Commit

Permalink
using docker for tinygo to avoid environmental weirdness
Browse files Browse the repository at this point in the history
  • Loading branch information
madflojo committed Jun 16, 2024
1 parent 0c90b5d commit 3a4fd27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
@echo "----------"
@echo "Building Go wasm Guest"
@echo "----------"
${TINYGOPATH}tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go
2 changes: 1 addition & 1 deletion testdata/go/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ build:
@echo "----------"
@echo "Building Go wasm Guest"
@echo "----------"
tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go
docker run -v `pwd`/:/build -w /build tinygo/tinygo:0.25.0 tinygo build -o hello.wasm -scheduler=none --no-debug -target=wasi main.go

0 comments on commit 3a4fd27

Please sign in to comment.