diff options
Diffstat (limited to '')
-rw-r--r-- | src/syscall/os_wasip1.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/syscall/os_wasip1.go b/src/syscall/os_wasip1.go new file mode 100644 index 0000000..01b46f7 --- /dev/null +++ b/src/syscall/os_wasip1.go @@ -0,0 +1,8 @@ +// Copyright 2023 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package syscall + +//go:wasmimport wasi_snapshot_preview1 proc_exit +func ProcExit(code int32) |