[#7116] exclude syscall.Exec for WASM

This commit is contained in:
Jesse Sivonen
2025-08-22 20:44:13 +03:00
committed by GitHub
parent b8f18bd97d
commit 3ca6321907
3 changed files with 19 additions and 2 deletions

9
core/syscall_wasm.go Normal file
View File

@@ -0,0 +1,9 @@
//go:build js && wasm
package core
import "errors"
func exec(argv0 string, argv []string, envv []string) error {
return errors.ErrUnsupported
}