tinygo icon indicating copy to clipboard operation
tinygo copied to clipboard

wasm: -target=wasi is now trying to use GOOS=wasip1, which is not existent in Go 1.20

Open deadprogram opened this issue 1 year ago • 2 comments
trafficstars

The latest release of TinyGo removed the -target=wasi in favor of the newer GOOS/GOARCH values, however those do not exist in Go 1.20 so it causes an issue for those users.

See https://github.com/tetratelabs/wazero/pull/2210#pullrequestreview-2126375711

deadprogram avatar Jun 27 '24 06:06 deadprogram

I was aware of this, but didn't think it would break too many users. Apparently I was wrong.

I should point out that Go 1.20 is not supported by the Go team anymore (so it doesn't get security updates anymore).

aykevl avatar Jun 27 '24 10:06 aykevl

See: https://github.com/tinygo-org/tinygo/pull/4175

aykevl avatar Jun 27 '24 10:06 aykevl

Closing since it appears to have been addressed previously.

deadprogram avatar Dec 12 '24 09:12 deadprogram