emscripten-core / emscripten-core/emscripten
embind-emit-tsd does not work with -fwasm-exceptions
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
**Version of emscripten/emsdk:**
3.1.47
**Failing command line in full:**
```
emscripten$ em++ -fwasm-exceptions -lembind ./test/other/embind_tsgen.cpp --embind-emit-tsd=foo
failed to asynchronously prepare wasm: CompileError: WebAssembly.instantiate(): unexpected section (enable with --experimental-wasm-eh) @+3361
Aborted(CompileError: WebAssembly.instantiate(): unexpected section (enable with --experimental-wasm-eh) @+3361)
tsgen_a.out.js:136
throw ex;
^
RuntimeError: Aborted(CompileError: WebAssembly.instantiate(): unexpected section (enable with --experimental-wasm-eh) @+3361)
at abort (tsgen_a.out.js:641:11)
at tsgen_a.out.js:766:5
em++: error: 'node tsgen_a.out.js' failed (returned 7)
```
Contributor guide
Assessment
This issue has not been assessed yet.