aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go')
-rw-r--r--src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go b/src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go
new file mode 100644
index 000000000..fd2b7517c
--- /dev/null
+++ b/src/internal/wasi/cli/v0.2.0/stderr/stderr.wit.go
@@ -0,0 +1,26 @@
+// Code generated by wit-bindgen-go. DO NOT EDIT.
+
+//go:build !wasip1
+
+// Package stderr represents the imported interface "wasi:cli/[email protected]".
+package stderr
+
+import (
+ "github.com/ydnar/wasm-tools-go/cm"
+ "internal/wasi/io/v0.2.0/streams"
+)
+
+// GetStderr represents the imported function "get-stderr".
+//
+// get-stderr: func() -> output-stream
+//
+//go:nosplit
+func GetStderr() (result streams.OutputStream) {
+ result0 := wasmimport_GetStderr()
+ result = cm.Reinterpret[streams.OutputStream]((uint32)(result0))
+ return
+}
+
+//go:wasmimport wasi:cli/[email protected] get-stderr
+//go:noescape
+func wasmimport_GetStderr() (result0 uint32)