Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 432 Bytes

README.md

File metadata and controls

18 lines (13 loc) · 432 Bytes

wazeroexec

This package provides an import hook for wazero. See the example directory for a working implementation.

Usage:

import "github.com/prep/wasmexec/wazeroexec"
err := wazeroexec.Import(ctx, runtime, instance)

Or if you want to import these functions on your namespace:

err := wazeroexec.ImportWithNamespace(ctx, runtime, ns, instance)