]> Cypherpunks repositories - gostls13.git/commit
cmd/go: stub out gotoolchain.go for wasip1 os build tag
authorMichael Matloob <matloob@golang.org>
Tue, 18 Apr 2023 15:20:58 +0000 (11:20 -0400)
committerMichael Matloob <matloob@golang.org>
Tue, 18 Apr 2023 16:04:10 +0000 (16:04 +0000)
commit2c64b50d3abbf3f96b3923827776747f2048d8df
tree133733689ea1054728fee37518a1c39c1e001cbe
parent7c1ed1fa8f28a36ad0210cf44e97d7d1a88d8f0b
cmd/go: stub out gotoolchain.go for wasip1 os build tag

There's a stub for gotoolchain.go for the js build tag because js/wasm
doesn't define syscall.Exec. But there are builders that are wasm but
not js, which also don't have syscall.Exec. The wasip1 GOOS is one
example. Stub out gotoolchain.go for wasip1 also.

Change-Id: I224bb385474ad9c5d3c28a83a000f450dfb43c0d
Reviewed-on: https://go-review.googlesource.com/c/go/+/485735
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Run-TryBot: Michael Matloob <matloob@golang.org>
src/cmd/go/gotoolchain.go
src/cmd/go/gotoolchain_stub.go [moved from src/cmd/go/gotoolchain_js.go with 91% similarity]