Skip to content

Commit 2a33a30

Browse files
tklausergopherbot
authored andcommitted
execabs: let hasExec return false on wasip1
Wasm cannot execute processes. Follow CL 479622 and update hasExec to match internal/testenv.HasExec. Updates golang/go#58141 Change-Id: Ie44dc356ee589784c44906694fda387fb1448ad5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/485655 Reviewed-by: Ian Lance Taylor <[email protected]> Run-TryBot: Tobias Klauser <[email protected]> TryBot-Result: Gopher Robot <[email protected]> Auto-Submit: Tobias Klauser <[email protected]> Reviewed-by: Bryan Mills <[email protected]>
1 parent 39c2d6a commit 2a33a30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

execabs/execabs_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121
// Copied from internal/testenv.HasExec
2222
func hasExec() bool {
2323
switch runtime.GOOS {
24-
case "js", "ios":
24+
case "wasip1", "js", "ios":
2525
return false
2626
}
2727
return true

0 commit comments

Comments
 (0)