leftibot 0fd9cab654
Fix #678: Add WASM exception support to Emscripten build (#689)
ChaiScript relies heavily on C++ exceptions for error propagation, but
the Emscripten build was missing the -fwasm-exceptions flag. Without it,
any C++ exception in the WASM module causes an abort instead of being
catchable by JavaScript. Added -fwasm-exceptions as both a compile and
link option, and added a regression test verifying exception propagation
through the eval wrapper functions.

Co-authored-by: leftibot <leftibot@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 22:40:26 -06:00
..
chaiscript_em.cpp Fix #472: Emscripten Frontend (#662) 2026-04-11 15:58:28 -06:00
chaiscript_eval.hpp Fix #472: Emscripten Frontend (#662) 2026-04-11 15:58:28 -06:00
chaiscript.html Fix #472: Emscripten Frontend (#662) 2026-04-11 15:58:28 -06:00
CMakeLists.txt Fix #678: Add WASM exception support to Emscripten build (#689) 2026-04-13 22:40:26 -06:00