From dd21a77bfae041eefe7b02ab5a40a7c4d3403f8d Mon Sep 17 00:00:00 2001 From: Johan Brandhorst-Satzkorn Date: Sat, 25 Mar 2023 09:03:15 -0700 Subject: internal: add wasip1 support For #58141 Co-authored-by: Richard Musiol Co-authored-by: Achille Roussel Co-authored-by: Julien Fabre Co-authored-by: Evan Phoenix Change-Id: I1488726e5b43cd21c5f83900476afd2fb63d70c9 Reviewed-on: https://go-review.googlesource.com/c/go/+/479622 Auto-Submit: Ian Lance Taylor Run-TryBot: Johan Brandhorst-Satzkorn Reviewed-by: Michael Knyszek Reviewed-by: Ian Lance Taylor Reviewed-by: Cherry Mui TryBot-Result: Gopher Robot Run-TryBot: Ian Lance Taylor --- src/internal/testenv/exec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/internal/testenv/exec.go') 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 -- cgit v1.3