From 28814da1d27c4e5bbc6d3e1f4c52136274a0995a Mon Sep 17 00:00:00 2001 From: Adrian Cole Date: Fri, 21 Apr 2023 16:27:53 +0200 Subject: [PATCH] removes stdout setup Signed-off-by: Adrian Cole --- examples/allocation/tinygo/greet.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/allocation/tinygo/greet.go b/examples/allocation/tinygo/greet.go index 88940b3da34..482ddc4028d 100644 --- a/examples/allocation/tinygo/greet.go +++ b/examples/allocation/tinygo/greet.go @@ -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) }