On Fri, Feb 17, 2023, 6:47 AM Stan Srednyak <stan.sr...@gmail.com> wrote:
> I have a Go code that I am trying to compile to .wasm. The code uses > syscall.Mmap. > > I am getting undefined: syscall.Mmap > > > What is this error and what do I do with it? > The syscall package provides system dependent functionality. Wasm does not support memory mapping, so syscall.Mmap does not exist on Wasm. In order to make any useful suggestions we would have to know why your Go code is calling Mmap. Ian > -- 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/CAOyqgcWsNrroAiWdg5yXSHD5vmdxS1mVxsRZ2YiOt6mQHoPA%2Bg%40mail.gmail.com.