Skip to content

Commit

Permalink
removes stdout setup
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
Adrian Cole authored and lburgazzoli committed Apr 26, 2023
1 parent deb9a9e commit 28814da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/allocation/tinygo/greet.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {

// Instantiate a WebAssembly module that imports the "log" function defined
// in "env" and exports "memory" and functions we'll use in this example.
mod, err := r.InstantiateWithConfig(ctx, greetWasm, wazero.NewModuleConfig().WithStdout(os.Stdout))
mod, err := r.Instantiate(ctx, greetWasm)
if err != nil {
log.Panicln(err)
}
Expand Down

0 comments on commit 28814da

Please sign in to comment.