mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-09-02 10:49:06 +00:00
wasi preview 2 support (#4027)
* all: wasip2 support Co-authored-by: Randy Reddig <randy.reddig@fastly.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
// Code generated by wit-bindgen-go. DO NOT EDIT.
|
||||
|
||||
//go:build !wasip1
|
||||
|
||||
package run
|
||||
|
||||
import (
|
||||
"github.com/ydnar/wasm-tools-go/cm"
|
||||
)
|
||||
|
||||
// Exports represents the caller-defined exports from "wasi:cli/run@0.2.0".
|
||||
var Exports struct {
|
||||
// Run represents the caller-defined, exported function "run".
|
||||
//
|
||||
// Run the program.
|
||||
//
|
||||
// run: func() -> result
|
||||
Run func() (result cm.Result)
|
||||
}
|
||||
Reference in New Issue
Block a user