diff --git a/examples/wasm_exec/cat.go b/examples/wasm_exec/cat.go index 8e76695bbd3..047adc9fcb7 100644 --- a/examples/wasm_exec/cat.go +++ b/examples/wasm_exec/cat.go @@ -32,7 +32,7 @@ func main() { ctx := context.Background() // Create a new WebAssembly Runtime. - r := wazero.NewRuntimeWithConfig(wazero.NewRuntimeConfigInterpreter().WithWasmCore2()) + r := wazero.NewRuntimeWithConfig(wazero.NewRuntimeConfig().WithWasmCore2()) defer r.Close(ctx) // This closes everything this Runtime created. // Compile the WebAssembly module using the default configuration.