I compiled a Go program to wasm using GOOS=js GOARCH=wasm go build -o main.wasm
It gives me the following error Error: failed to run main module `main.wasm` Caused by: 0: failed to instantiate "main.wasm" 1: unknown import: `go::debug` has not been defined How to fix this? -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/CAE-786hO5P_wzurirac0rGE5ybGggOcBV0DNHVH-u0KcEW6ROA%40mail.gmail.com.