Documentation
¶
Overview ¶
Package wacogo is a WebAssembly Component Model (MVP) runtime. It builds on wazero as the core wasm execution engine and adds component-model linking, loading, and instantiation on top.
The entry point is Engine: construct one with NewEngine, load components from binaries with LoadComponent, call Instantiate on the returned Component to obtain a running ComponentInstance, and mint host-side components via NewHostBuilder.
Index ¶
- Constants
- type CaseType
- type CompiledModule
- type Component
- type ComponentInstance
- type ComponentType
- type Engine
- type EngineOption
- type ExportDesc
- type ExportedFunc
- type Field
- type FieldType
- type FuncType
- type ImportDesc
- type InstanceType
- type InstantiateOption
- func WithComponentImport(name string, c *Component) InstantiateOption
- func WithFuncImport(name string, f *ExportedFunc) InstantiateOption
- func WithInstanceImport(name string, i *ComponentInstance) InstantiateOption
- func WithModuleImport(name string, m *CompiledModule) InstantiateOption
- func WithTypeImport(name string, t Type) InstantiateOption
- type ParamType
- type ResourceHandle
- type ResultType
- type Sort
- type Task
- type TransferTarget
- type Type
- type TypeBool
- type TypeBorrow
- type TypeChar
- type TypeEnum
- type TypeF32
- type TypeF64
- type TypeFlags
- type TypeList
- type TypeOption
- type TypeOwn
- type TypeRecord
- type TypeResource
- type TypeResult
- type TypeS8
- type TypeS16
- type TypeS32
- type TypeS64
- type TypeString
- type TypeTuple
- type TypeU8
- type TypeU16
- type TypeU32
- type TypeU64
- type TypeVariant
- type Val
- type ValBool
- type ValChar
- type ValEnum
- type ValF32
- type ValF64
- type ValFlags
- type ValList
- type ValOption
- type ValOwnHandle
- type ValRecord
- type ValResult
- type ValS8
- type ValS16
- type ValS32
- type ValS64
- type ValString
- type ValU8
- type ValU16
- type ValU32
- type ValU64
- type ValVariant
Constants ¶
const SortComponent = core.SortComponent
SortComponent identifies a nested-component definition.
const SortCoreFunc = core.SortCoreFunc
SortCoreFunc identifies a core-wasm func definition.
const SortCoreGlobal = core.SortCoreGlobal
SortCoreGlobal identifies a core-wasm global definition.
const SortCoreInstance = core.SortCoreInstance
SortCoreInstance identifies a core-wasm instance definition.
const SortCoreMemory = core.SortCoreMemory
SortCoreMemory identifies a core-wasm memory definition.
const SortCoreModule = core.SortCoreModule
SortCoreModule identifies a core-wasm module definition.
const SortCoreTable = core.SortCoreTable
SortCoreTable identifies a core-wasm table definition.
const SortFunc = core.SortFunc
SortFunc identifies a component-level func definition.
const SortInstance = core.SortInstance
SortInstance identifies a component-level instance definition.
const SortType = core.SortType
SortType identifies a component-level type definition.
const SortValue = core.SortValue
SortValue identifies a component-level value definition.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CompiledModule ¶
type CompiledModule = core.CompiledModule
CompiledModule wraps a compiled core wasm module exposed by a component as a core-module export.
func WrapCompiledModule ¶
func WrapCompiledModule(cm wazero.CompiledModule) *CompiledModule
WrapCompiledModule lifts a wazero.CompiledModule into a *CompiledModule suitable for use as a core-module import (see WithModuleImport). The caller retains ownership of the underlying compiled module.
type Component ¶
Component is an immutable, compiled component-model component ready for instantiation. Obtain one from (*Engine).LoadComponent.
type ComponentInstance ¶
type ComponentInstance = core.ComponentInstance
ComponentInstance is a live instance of a Component. Single-threaded: the component-model spec forbids concurrent or reentrant use.
type ComponentType ¶
type ComponentType = core.ComponentType
ComponentType represents a component-model component type. Reserved for future use.
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine owns the wazero runtime and is the entry point for loading components, instantiating them, and building host-side components.
Engine values are safe for concurrent use from multiple goroutines for Load/Instantiate; per-Engine state such as the validator arena is guarded by the runtime.
func NewEngine ¶
func NewEngine(ctx context.Context, opts ...EngineOption) *Engine
NewEngine creates a new Engine with the given options.
func (*Engine) Close ¶
Close releases all resources held by the engine, including the underlying wazero runtime. After Close, the engine cannot be used.
func (*Engine) LoadComponent ¶
LoadComponent parses, validates, and compiles a component-model binary read from r. The returned *Component is immutable and safe for concurrent Instantiate calls.
func (*Engine) NewHostBuilder ¶
NewHostBuilder returns a fresh host.Builder bound to this engine. Register functions, types, and resources on the returned builder and call Build to produce a reusable *host.Component template. name is used in error messages and synthesized module names; keep it short and descriptive.
func (*Engine) WazeroRuntime ¶
WazeroRuntime returns the underlying wazero runtime. Use it to register host modules or compile raw core modules that sit alongside the component-model machinery; the runtime is shared with all components loaded through this engine.
type EngineOption ¶
type EngineOption = core.EngineOption
EngineOption configures an Engine at construction time. Pass instances to NewEngine.
func WithRuntimeConfig ¶
func WithRuntimeConfig(cfg wazero.RuntimeConfig) EngineOption
WithRuntimeConfig overrides the wazero RuntimeConfig used to build the engine's runtime. If unset, wacogo uses a default config with CoreFeaturesV2 and the extended-const proposal enabled.
type ExportDesc ¶
type ExportDesc = core.ExportDesc
ExportDesc describes one entry in a Component's exports list.
type ExportedFunc ¶
type ExportedFunc = core.ExportedFunc
ExportedFunc is a callable component-model function paired with the name it was exported under. Obtain instances from (*ComponentInstance).ExportedFunc.
type ImportDesc ¶
type ImportDesc = core.ImportDesc
ImportDesc describes one entry in a Component's imports list.
type InstanceType ¶
type InstanceType = core.InstanceType
InstanceType represents a component-model instance type. Reserved for future use.
type InstantiateOption ¶
type InstantiateOption = core.InstantiateOption
InstantiateOption configures a single (*Component).Instantiate call. The With* functions in this package construct values of this type.
func WithComponentImport ¶
func WithComponentImport(name string, c *Component) InstantiateOption
WithComponentImport satisfies a named component import with the given *Component.
func WithFuncImport ¶
func WithFuncImport(name string, f *ExportedFunc) InstantiateOption
WithFuncImport satisfies a named func import with the given *ExportedFunc.
func WithInstanceImport ¶
func WithInstanceImport(name string, i *ComponentInstance) InstantiateOption
WithInstanceImport satisfies a named instance import with the given *ComponentInstance.
func WithModuleImport ¶
func WithModuleImport(name string, m *CompiledModule) InstantiateOption
WithModuleImport satisfies a named core module import with the given *CompiledModule.
func WithTypeImport ¶
func WithTypeImport(name string, t Type) InstantiateOption
WithTypeImport satisfies a named type import with the given Type.
type ResourceHandle ¶
type ResourceHandle = core.ResourceHandle
ResourceHandle is the runtime handle for a resource value as it sits in a component instance's resource table.
type Sort ¶
Sort enumerates the kinds of definition a component-model import or export can refer to. Values follow the names used in the component-model specification.
type Task ¶
Task is the per-call accounting record shared by the caller and callee CallContexts of a single component-model call.
type TransferTarget ¶
type TransferTarget = core.TransferTarget
TransferTarget is the destination side of a resource handle transfer (LendTo/TransferOwn). Obtain one from a CallContext.
type TypeBorrow ¶
type TypeBorrow = core.TypeBorrow
TypeBorrow is the component-model borrow<R> handle type.
type TypeOption ¶
type TypeOption = core.TypeOption
TypeOption is the component-model option<T> type.
type TypeResource ¶
type TypeResource = core.TypeResource
TypeResource is the component-model resource type.
type TypeResult ¶
type TypeResult = core.TypeResult
TypeResult is the component-model result<T,E> type.
type TypeVariant ¶
type TypeVariant = core.TypeVariant
TypeVariant is the component-model variant type.
type ValEnum ¶
ValEnum represents an enum case identified by a discriminant.
func NewValEnum ¶
NewValEnum constructs an enum value with the given case discriminant.
type ValFlags ¶
ValFlags represents a set of named boolean flags.
func NewValFlags ¶
NewValFlags constructs a flags value with the given flag names and the specified flags pre-set. Unknown names in set are silently ignored.
type ValList ¶
ValList holds an ordered sequence of Val elements.
func NewValListOf ¶
NewValListOf constructs a *ValList whose elements are elems.
type ValOption ¶
ValOption represents an optional value (some or none).
func ValOptionSome ¶
ValOptionSome constructs an option carrying v.
type ValOwnHandle ¶
type ValOwnHandle = core.ValOwnHandle
ValOwnHandle is an owned resource handle value.
type ValRecord ¶
ValRecord holds an ordered set of named fields.
func NewValRecord ¶
NewValRecord constructs a record from the given fields in order.
type ValResult ¶
ValResult represents either an ok value or an error value.
func ValResultErr ¶
ValResultErr constructs an error result carrying v.
func ValResultOk ¶
ValResultOk constructs an ok result carrying v.
type ValVariant ¶
type ValVariant = core.ValVariant
ValVariant represents a variant case identified by a discriminant and an optional payload.
func NewValVariant ¶
func NewValVariant(discriminant uint32, payload Val) *ValVariant
NewValVariant constructs a variant value with the given discriminant and payload. payload may be nil for cases that carry no value.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
wacogo-witgen
command
Command wacogo-witgen generates Go bindings for a WIT file.
|
Command wacogo-witgen generates Go bindings for a WIT file. |
|
examples
|
|
|
calculator
command
Calculator example: implements a WIT interface in Go, wires it into a wasm component, calls add through the wasm boundary.
|
Calculator example: implements a WIT interface in Go, wires it into a wasm component, calls add through the wasm boundary. |
|
calculator/gen/example/demo/calc
Package calc provides Go bindings for the example:demo/calc interface.
|
Package calc provides Go bindings for the example:demo/calc interface. |
|
host-imports
command
Host-imports example: two Go-implemented components wired together.
|
Host-imports example: two Go-implemented components wired together. |
|
host-imports/gen/example/host-imports/filesystem
Package filesystem provides Go bindings for the example:host-imports/filesystem interface.
|
Package filesystem provides Go bindings for the example:host-imports/filesystem interface. |
|
host-imports/gen/example/host-imports/streams
Package streams provides Go bindings for the example:host-imports/streams interface.
|
Package streams provides Go bindings for the example:host-imports/streams interface. |
|
jsinterp
command
jsinterp loads a wrapper WASI component and uses it to evaluate a JavaScript file passed on the command line.
|
jsinterp loads a wrapper WASI component and uses it to evaluate a JavaScript file passed on the command line. |
|
wasi-greet
command
wasi-greet loads a wasi:cli@0.2.8 component from disk, wires up the full wasi:cli/imports world (stdio plumbed to this process), and invokes an exported func(name: string) -> string.
|
wasi-greet loads a wasi:cli@0.2.8 component from disk, wires up the full wasi:cli/imports world (stdio plumbed to this process), and invokes an exported func(name: string) -> string. |
|
Package host builds component-model component instances in Go.
|
Package host builds component-model component instances in Go. |
|
internal
|
|
|
canon
Package canon implements the WebAssembly Component Model canonical ABI via a visitor-driven closure-emission pipeline.
|
Package canon implements the WebAssembly Component Model canonical ABI via a visitor-driven closure-emission pipeline. |
|
spectest
Package spectest holds shared helpers for running the WebAssembly component-model spec test suite vendored under testdata/spec/.
|
Package spectest holds shared helpers for running the WebAssembly component-model spec test suite vendored under testdata/spec/. |
|
spectestgen
command
spectestgen walks one or more directories of .wast files and produces matching JSON + .wasm fixtures via `wasm-tools json-from-wast`.
|
spectestgen walks one or more directories of .wast files and produces matching JSON + .wasm fixtures via `wasm-tools json-from-wast`. |
|
wasi/gen/wasi/cli/environment
Package environment provides Go bindings for the wasi:cli/environment interface.
|
Package environment provides Go bindings for the wasi:cli/environment interface. |
|
wasi/gen/wasi/cli/exit
Package exit provides Go bindings for the wasi:cli/exit interface.
|
Package exit provides Go bindings for the wasi:cli/exit interface. |
|
wasi/gen/wasi/cli/stderr
Package stderr provides Go bindings for the wasi:cli/stderr interface.
|
Package stderr provides Go bindings for the wasi:cli/stderr interface. |
|
wasi/gen/wasi/cli/stdin
Package stdin provides Go bindings for the wasi:cli/stdin interface.
|
Package stdin provides Go bindings for the wasi:cli/stdin interface. |
|
wasi/gen/wasi/cli/stdout
Package stdout provides Go bindings for the wasi:cli/stdout interface.
|
Package stdout provides Go bindings for the wasi:cli/stdout interface. |
|
wasi/gen/wasi/cli/terminalinput
Terminal input.
|
Terminal input. |
|
wasi/gen/wasi/cli/terminaloutput
Terminal output.
|
Terminal output. |
|
wasi/gen/wasi/cli/terminalstderr
An interface providing an optional `terminal-output` for stderr as a link-time authority.
|
An interface providing an optional `terminal-output` for stderr as a link-time authority. |
|
wasi/gen/wasi/cli/terminalstdin
An interface providing an optional `terminal-input` for stdin as a link-time authority.
|
An interface providing an optional `terminal-input` for stdin as a link-time authority. |
|
wasi/gen/wasi/cli/terminalstdout
An interface providing an optional `terminal-output` for stdout as a link-time authority.
|
An interface providing an optional `terminal-output` for stdout as a link-time authority. |
|
wasi/gen/wasi/clocks/monotonicclock
WASI Monotonic Clock is a clock API intended to let users measure elapsed time.
|
WASI Monotonic Clock is a clock API intended to let users measure elapsed time. |
|
wasi/gen/wasi/clocks/timezone
Package timezone provides Go bindings for the wasi:clocks/timezone interface.
|
Package timezone provides Go bindings for the wasi:clocks/timezone interface. |
|
wasi/gen/wasi/clocks/wallclock
WASI Wall Clock is a clock API intended to let users query the current time.
|
WASI Wall Clock is a clock API intended to let users query the current time. |
|
wasi/gen/wasi/filesystem/preopens
Package preopens provides Go bindings for the wasi:filesystem/preopens interface.
|
Package preopens provides Go bindings for the wasi:filesystem/preopens interface. |
|
wasi/gen/wasi/filesystem/types
WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead.
|
WASI filesystem is a filesystem API primarily intended to let users run WASI programs that access their files on their existing filesystems, without significant overhead. |
|
wasi/gen/wasi/http/incominghandler
This interface defines a handler of incoming HTTP Requests.
|
This interface defines a handler of incoming HTTP Requests. |
|
wasi/gen/wasi/http/outgoinghandler
This interface defines a handler of outgoing HTTP Requests.
|
This interface defines a handler of outgoing HTTP Requests. |
|
wasi/gen/wasi/http/types
This interface defines all of the types and methods for implementing HTTP Requests and Responses, both incoming and outgoing, as well as their headers, trailers, and bodies.
|
This interface defines all of the types and methods for implementing HTTP Requests and Responses, both incoming and outgoing, as well as their headers, trailers, and bodies. |
|
wasi/gen/wasi/io/poll
A poll API intended to let users wait for I/O events on multiple handles at once.
|
A poll API intended to let users wait for I/O events on multiple handles at once. |
|
wasi/gen/wasi/io/streams
WASI I/O is an I/O abstraction API which is currently focused on providing stream types.
|
WASI I/O is an I/O abstraction API which is currently focused on providing stream types. |
|
wasi/gen/wasi/io/wioerror
Package wioerror provides Go bindings for the wasi:io/error interface.
|
Package wioerror provides Go bindings for the wasi:io/error interface. |
|
wasi/gen/wasi/random/insecure
The insecure interface for insecure pseudo-random numbers.
|
The insecure interface for insecure pseudo-random numbers. |
|
wasi/gen/wasi/random/insecureseed
The insecure-seed interface for seeding hash-map DoS resistance.
|
The insecure-seed interface for seeding hash-map DoS resistance. |
|
wasi/gen/wasi/random/random
WASI Random is a random data API.
|
WASI Random is a random data API. |
|
wasi/gen/wasi/sockets/instancenetwork
This interface provides a value-export of the default network handle..
|
This interface provides a value-export of the default network handle.. |
|
wasi/gen/wasi/sockets/ipnamelookup
Package ipnamelookup provides Go bindings for the wasi:sockets/ip-name-lookup interface.
|
Package ipnamelookup provides Go bindings for the wasi:sockets/ip-name-lookup interface. |
|
wasi/gen/wasi/sockets/network
Package network provides Go bindings for the wasi:sockets/network interface.
|
Package network provides Go bindings for the wasi:sockets/network interface. |
|
wasi/gen/wasi/sockets/tcp
Package tcp provides Go bindings for the wasi:sockets/tcp interface.
|
Package tcp provides Go bindings for the wasi:sockets/tcp interface. |
|
wasi/gen/wasi/sockets/tcpcreatesocket
Package tcpcreatesocket provides Go bindings for the wasi:sockets/tcp-create-socket interface.
|
Package tcpcreatesocket provides Go bindings for the wasi:sockets/tcp-create-socket interface. |
|
wasi/gen/wasi/sockets/udp
Package udp provides Go bindings for the wasi:sockets/udp interface.
|
Package udp provides Go bindings for the wasi:sockets/udp interface. |
|
wasi/gen/wasi/sockets/udpcreatesocket
Package udpcreatesocket provides Go bindings for the wasi:sockets/udp-create-socket interface.
|
Package udpcreatesocket provides Go bindings for the wasi:sockets/udp-create-socket interface. |
|
wasm
Package wasm provides helpers for building WebAssembly binaries programmatically.
|
Package wasm provides helpers for building WebAssembly binaries programmatically. |
|
witgen
Canonical-ABI metadata: byte size, alignment, flat slot count.
|
Canonical-ABI metadata: byte size, alignment, flat slot count. |
|
tools
|
|
|
syncspec
command
syncspec downloads the WebAssembly/component-model `test/` tree at the commit pinned in testdata/spec/UPSTREAM.txt and replaces the contents of testdata/spec/ with that tree.
|
syncspec downloads the WebAssembly/component-model `test/` tree at the commit pinned in testdata/spec/UPSTREAM.txt and replaces the contents of testdata/spec/ with that tree. |
|
Package wasi houses the wacogo bindings for wasi p2.
|
Package wasi houses the wacogo bindings for wasi p2. |
|
cli/environment
Package environment is wasi:cli/environment host component.
|
Package environment is wasi:cli/environment host component. |
|
cli/exit
Package exit is the not-yet-implemented wasi:cli/exit host component.
|
Package exit is the not-yet-implemented wasi:cli/exit host component. |
|
cli/stderr
Package stderr is the not-yet-implemented wasi:cli/stderr host component.
|
Package stderr is the not-yet-implemented wasi:cli/stderr host component. |
|
cli/stdin
Package stdin is the wasi:cli/stdin host component.
|
Package stdin is the wasi:cli/stdin host component. |
|
cli/stdout
Package stdout is the wasi:cli/stdout host component.
|
Package stdout is the wasi:cli/stdout host component. |
|
cli/terminalinput
Package terminalinput is the not-yet-implemented wasi:cli/terminal-input host component.
|
Package terminalinput is the not-yet-implemented wasi:cli/terminal-input host component. |
|
cli/terminaloutput
Package terminaloutput is the not-yet-implemented wasi:cli/terminal-output host component.
|
Package terminaloutput is the not-yet-implemented wasi:cli/terminal-output host component. |
|
cli/terminalstderr
Package terminalstderr is the stub wasi:cli/terminal-stderr host component.
|
Package terminalstderr is the stub wasi:cli/terminal-stderr host component. |
|
cli/terminalstdin
Package terminalstdin is the stub wasi:cli/terminal-stdin host component.
|
Package terminalstdin is the stub wasi:cli/terminal-stdin host component. |
|
cli/terminalstdout
Package terminalstdout is the stub wasi:cli/terminal-stdout host component.
|
Package terminalstdout is the stub wasi:cli/terminal-stdout host component. |
|
clocks/monotonicclock
Package monotonicclock implements the wasi:clocks/monotonic-clock host component on top of Go's time package.
|
Package monotonicclock implements the wasi:clocks/monotonic-clock host component on top of Go's time package. |
|
clocks/timezone
Package timezone is the not-yet-implemented wasi:clocks/timezone host component.
|
Package timezone is the not-yet-implemented wasi:clocks/timezone host component. |
|
clocks/wallclock
Package wallclock implements the wasi:clocks/wall-clock host component on top of Go's time package.
|
Package wallclock implements the wasi:clocks/wall-clock host component on top of Go's time package. |
|
filesystem/preopens
Package preopens implements the wasi:filesystem/preopens host component.
|
Package preopens implements the wasi:filesystem/preopens host component. |
|
filesystem/types
Package types is the not-yet-implemented wasi:filesystem/types host component.
|
Package types is the not-yet-implemented wasi:filesystem/types host component. |
|
http/incominghandler
Package incominghandler is the not-yet-implemented wasi:http/incoming-handler host component.
|
Package incominghandler is the not-yet-implemented wasi:http/incoming-handler host component. |
|
http/outgoinghandler
Package outgoinghandler is the not-yet-implemented wasi:http/outgoing-handler host component.
|
Package outgoinghandler is the not-yet-implemented wasi:http/outgoing-handler host component. |
|
http/types
Package types is the not-yet-implemented wasi:http/types host component.
|
Package types is the not-yet-implemented wasi:http/types host component. |
|
internal/wasierr
Package wasierr exposes errors shared by the wasi/* skeleton packages.
|
Package wasierr exposes errors shared by the wasi/* skeleton packages. |
|
io/poll
Package poll is the not-yet-implemented wasi:io/poll host component.
|
Package poll is the not-yet-implemented wasi:io/poll host component. |
|
io/streams
Package streams is the not-yet-implemented wasi:io/streams host component.
|
Package streams is the not-yet-implemented wasi:io/streams host component. |
|
io/wioerror
Package wioerror is the not-yet-implemented wasi:io/error host component.
|
Package wioerror is the not-yet-implemented wasi:io/error host component. |
|
random/insecure
Package insecure implements the wasi:random/insecure host component.
|
Package insecure implements the wasi:random/insecure host component. |
|
random/insecureseed
Package insecureseed implements the wasi:random/insecure-seed host component.
|
Package insecureseed implements the wasi:random/insecure-seed host component. |
|
random/random
Package random implements the wasi:random/random host component backed by Go's crypto/rand.
|
Package random implements the wasi:random/random host component backed by Go's crypto/rand. |
|
sockets/instancenetwork
Package instancenetwork is the not-yet-implemented wasi:sockets/instance-network host component.
|
Package instancenetwork is the not-yet-implemented wasi:sockets/instance-network host component. |
|
sockets/ipnamelookup
Package ipnamelookup is the not-yet-implemented wasi:sockets/ip-name-lookup host component.
|
Package ipnamelookup is the not-yet-implemented wasi:sockets/ip-name-lookup host component. |
|
sockets/network
Package network is the not-yet-implemented wasi:sockets/network host component.
|
Package network is the not-yet-implemented wasi:sockets/network host component. |
|
sockets/tcp
Package tcp is the not-yet-implemented wasi:sockets/tcp host component.
|
Package tcp is the not-yet-implemented wasi:sockets/tcp host component. |
|
sockets/tcpcreatesocket
Package tcpcreatesocket is the not-yet-implemented wasi:sockets/tcp-create-socket host component.
|
Package tcpcreatesocket is the not-yet-implemented wasi:sockets/tcp-create-socket host component. |
|
sockets/udp
Package udp is the not-yet-implemented wasi:sockets/udp host component.
|
Package udp is the not-yet-implemented wasi:sockets/udp host component. |
|
sockets/udpcreatesocket
Package udpcreatesocket is the not-yet-implemented wasi:sockets/udp-create-socket host component.
|
Package udpcreatesocket is the not-yet-implemented wasi:sockets/udp-create-socket host component. |
|
Package wasmparser provides a streaming parser and validator for WebAssembly Component Model binaries.
|
Package wasmparser provides a streaming parser and validator for WebAssembly Component Model binaries. |
|
examples/dump
command
Usage: dump <file.wasm>
|
Usage: dump <file.wasm> |
|
examples/imports-exports
command
Usage: imports-exports <file.wasm>
|
Usage: imports-exports <file.wasm> |
|
examples/validate
command
Usage: validate <file.wasm>
|
Usage: validate <file.wasm> |
|
internal/testgen
command
|
|
|
Package wasmtools embeds the wasip1 build of bytecodealliance/wasm-tools and runs it inside wazero, so callers can use wasm-tools without requiring the binary to be installed on the host.
|
Package wasmtools embeds the wasip1 build of bytecodealliance/wasm-tools and runs it inside wazero, so callers can use wasm-tools without requiring the binary to be installed on the host. |