Any update on this?

On Wednesday, April 12, 2023 at 8:42:48 PM UTC+5:30 Stan Srednyak wrote:

> 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/a09b9d89-27d2-4990-8d44-6199c376c6d9n%40googlegroups.com.

Reply via email to