diff options
| author | Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com> | 2023-03-25 09:03:15 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2023-04-07 23:34:17 +0000 |
| commit | dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d (patch) | |
| tree | 1a2f443e2daf2373b02ec7729f46d1baca315e6a /src/internal/testenv/exec.go | |
| parent | 693a34e78856980b0bb4a10ffcfd2bac1dbd6ebe (diff) | |
| download | go-dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d.tar.xz | |
internal: add wasip1 support
For #58141
Co-authored-by: Richard Musiol <neelance@gmail.com>
Co-authored-by: Achille Roussel <achille.roussel@gmail.com>
Co-authored-by: Julien Fabre <ju.pryz@gmail.com>
Co-authored-by: Evan Phoenix <evan@phx.io>
Change-Id: I1488726e5b43cd21c5f83900476afd2fb63d70c9
Reviewed-on: https://go-review.googlesource.com/c/go/+/479622
Auto-Submit: Ian Lance Taylor <iant@google.com>
Run-TryBot: Johan Brandhorst-Satzkorn <johan.brandhorst@gmail.com>
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
Diffstat (limited to 'src/internal/testenv/exec.go')
| -rw-r--r-- | src/internal/testenv/exec.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/testenv/exec.go b/src/internal/testenv/exec.go index 77de59c70a..ec2f2e295c 100644 --- a/src/internal/testenv/exec.go +++ b/src/internal/testenv/exec.go @@ -20,7 +20,7 @@ import ( // using os.StartProcess or (more commonly) exec.Command. func HasExec() bool { switch runtime.GOOS { - case "js", "ios": + case "wasip1", "js", "ios": return false } return true |
