Package Usage: go: github.com/tetratelabs/wazero
This is an example of how to extend a Go application with an addition
function defined in WebAssembly.
Since addWasm was compiled with TinyGo's `wasi` target, we need to configure
WASI host imports.
A complete project that does the same as this is available here:
https://github.com/tetratelabs/wazero/tree/main/examples/basic
This is a basic example of using the file system compilation cache via wazero.NewCompilationCacheWithDir.
The main goal is to show how it is configured.
This example shows how to configure an embed.FS.
This is a basic example of retrieving custom sections using RuntimeConfig.WithCustomSections.
33 versions
Latest release: about 1 year ago
374 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/tetratelabs/wazero