Skip to content

Commit bda9710

Browse files
authored
fix: remove os.Stdout from wazero module config (#10403)
Signed-off-by: nikpivkin <nikita.pivkin@smartforce.io>
1 parent 1a6f7a1 commit bda9710

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/module/module.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ type wasmModule struct {
282282

283283
func newWASMPlugin(ctx context.Context, ccache wazero.CompilationCache, code []byte) (*wasmModule, error) {
284284
mf := &memFS{}
285-
config := wazero.NewModuleConfig().WithStdout(os.Stdout).WithFS(mf).WithStartFunctions("_initialize")
285+
config := wazero.NewModuleConfig().WithFS(mf).WithStartFunctions("_initialize")
286286

287287
// Create an empty namespace so that multiple modules will not conflict
288288
r := wazero.NewRuntimeWithConfig(ctx, wazero.NewRuntimeConfig().WithCompilationCache(ccache))

0 commit comments

Comments
 (0)