Skip to content

syscall/js.finalizeRef not implemented #1140

@tranxuanthang

Description

@tranxuanthang

The error happened when I try an example (https://github.com/tinygo-org/tinygo/blob/master/src/examples/wasm/slices/)

Steps to reproduce:

  • Clone the tinygo repository git clone git@github.com:tinygo-org/tinygo.git
  • cd tinygo/src/examples/wasm/slices
  • Build the wasm with tinygo build -o wasm.wasm -target wasm --no-debug ./wasm.go
  • Copy the file tinygo/targets/wasm_exec.js to current slices folder
  • Run the server, open the address in browser and start typing a number. You should see the error above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwasmWebAssembly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions