emscripten-core / emscripten-core/emscripten
Add a way to switch to wasm exceptions when using -fexceptions
Open
- Dominant language
- C++
- Stars
- 27.6k
- Forks
- 3.6k
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 105
Description
Right now if -fwasm-exceptions is passed, the compiler will enable exceptions and use the wasm backend for it. To ease the compatibility with 3rdparty software it would be better to have a -sWASM_EXCEPTIONS=1 that will change the backend to be used when -fexceptions is passed, and if -fno-exceptions is given it will disable them
Contributor guide
Assessment
This issue has not been assessed yet.