Skip to content

Commit

Permalink
examples/basic: use Interpreter
Browse files Browse the repository at this point in the history
Signed-off-by: deadprogram <[email protected]>
  • Loading branch information
deadprogram committed Dec 8, 2023
1 parent 2f07e8d commit 0d32ab7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/basic/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func main() {
ctx := context.Background()

// Create a new WebAssembly Runtime.
r := wazero.NewRuntime(ctx)
r := wazero.NewRuntimeWithConfig(ctx, wazero.NewRuntimeConfigInterpreter())
defer r.Close(ctx) // This closes everything this Runtime created.

// Instantiate WASI, which implements host functions needed for TinyGo to
Expand Down

0 comments on commit 0d32ab7

Please sign in to comment.