github.com/twelsh-aw/go/src@v0.0.0-20230516233729-a56fe86a7c81/syscall/os_wasip1.go (about) 1 // Copyright 2023 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 package syscall 6 7 //go:wasmimport wasi_snapshot_preview1 proc_exit 8 func ProcExit(code int32)