Skip to content

Commit

Permalink
works on linux if built first
Browse files Browse the repository at this point in the history
  • Loading branch information
ldemailly committed Aug 8, 2024
1 parent 6a9d8b4 commit 26ffb6a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ GO_BUILD_TAGS:=no_net,no_json,no_pprof
demo:
go run -tags $(GO_BUILD_TAGS) ./example/ -loglevel debug

tinygo-run:
# No luck https://github.com/tinygo-org/tinygo/issues/4395
CGO_ENABLED=0 tinygo run -tags $(GO_BUILD_TAGS) ./example
tinygo-demo:
# No luck on mac https://github.com/tinygo-org/tinygo/issues/4395
CGO_ENABLED=0 tinygo build -tags $(GO_BUILD_TAGS) -o example-tinygo ./example/
./example-tinygo -loglevel debug

test:
CGO_ENABLED=0 go test -tags $(GO_BUILD_TAGS) ./...
Expand Down

0 comments on commit 26ffb6a

Please sign in to comment.