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

Aperta
#22,355 2 commenti 1 reazione 1 assegnatario Rivendicata da @brendandahl Vedi su GitHub
TypeScript
Lingua principale
C++
Stelle
27.6k
Fork
3.6k
Merge medio
1g 14h
PR unite (30g)
125

Descrizione

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`

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.