wasmerio / wasmer-go

🐹🕸️ WebAssembly runtime for Go
https://pkg.go.dev/github.com/wasmerio/wasmer-go
MIT License
2.84k stars 161 forks source link

fix: set store field in Module when calling DeserializeModule() #264

Closed prep closed 3 years ago

prep commented 3 years ago

When calling DeserializeModule(), the store field on Module{} isn't set which causes NewInstance() with that module to panic. This PR fixes that.