This package provides an import hook for wasmtime-go. See the example directory for a working implementation.
Usage:
import (
// ...
"github.com/prep/wasmexec/wasmtimexec"
// ...
)
func main() {
// ...
if err = wasmtimexec.Import(store, linker, instance); err != nil {
// handle error
}
// ...
}