emscripten-core / emscripten-core/emscripten
Exception handling helpers not included in the TypeScript definition file when using option --emit-tsd and -sEXPORT_EXCEPTION_HANDLING_HELPERS
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Please include the following in your bug report:
**Version of emscripten/emsdk:**
`emcc (Emscripten gcc/clang-like replacement + linker emulating GNU ld) 3.1.65-git (08f5c0f33adec9630cb21f5a3267e0df12d56ff4)
clang version 20.0.0git (https:/github.com/llvm/llvm-project 979abf142f606bf43a5500e59d72f1286a7180c7)
Target: wasm32-unknown-emscripten
Thread model: posix
InstalledDir: /Users/skywalker/workspace/emsdk/upstream/bin
Build config: +assertions`
When we generate the TypeScript Definitions and also include the exception handling helpers, the generated definition file does not include the methods `getExceptionMessage, incrementExceptionRefcount, decrementExceptionRefcount` in `RuntimeExports`
Contributor guide
Assessment
This issue has not been assessed yet.