/tinygo-wasi-symbol-bug

This repository contains the code required to reproduce a tinygo issue

Primary LanguageGoApache License 2.0Apache-2.0

This repository contains a small reproducer for a this tinygo issue.

Requirements

  • docker
  • make

How to reproduce the issue

Run the following command to reproduce the issue:

make build_0_31

The process will exit with an error similar to the following one:

[parse exception: invalid function index (at 0:33625)]

The error is raised by wasm-opt.

The bug is currently happening with tinygo v0.31.0, which ships wasm-opt 116.

The bug affects also older releases of TinyGo.