wazero

command
v1.0.0-pre.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

README

wazero CLI

The wazero CLI can be used to execute a standalone WebAssembly binary.

Installation

$ go install github.com/tetratelabs/wazero/cmd/wazero@latest

Usage

The wazero CLI accepts a single argument, the path to a WebAssembly binary. Arguments can be passed to the WebAssembly binary itself after the path.

wazero run calc.wasm 1 + 2

In addition to arguments, the WebAssembly binary has access to stdout, stderr, and stdin.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL