wasm-nats-producer-client/gen/wasi/cli/exit/exit.wit.go

20 lines
409 B
Go
Raw Permalink Normal View History

2024-12-14 01:15:08 +00:00
// Code generated by wit-bindgen-go. DO NOT EDIT.
// Package exit represents the imported interface "wasi:cli/exit@0.2.0".
package exit
import (
"github.com/bytecodealliance/wasm-tools-go/cm"
)
// Exit represents the imported function "exit".
//
// exit: func(status: result)
//
//go:nosplit
func Exit(status cm.BoolResult) {
status0 := cm.BoolToU32(status)
wasmimport_Exit((uint32)(status0))
return
}