Repository navigation
Remove use of deprecated emscripten setting: EXPORT_EXCEPTION_HANDLING_HELPERS - #8507
Conversation
EXPORT_EXCEPTION_HANDLING_HELPERS
|
This is currently blocking the emscripten emsdk roller due to Is this the correct fix? The support code in binaryen seem to unconditionally depend on binaryen/src/js/binaryen.js-post.js Line 3281 in 132f7e8 |
|
Landing TBR to unblock the roller. |
|
Yeah, unless it is compiling binaryen with |
…ation Like WebAssembly/binaryen#8507, there can be people who use this methods at `-O1` or above. This adds more explanation of the workaround in ChangeeLog, site docs, and the deprecation message. You don't strictly need `decrementExceptionRefcount` to use `getExceptionMessage`, but you need it if you care about asan, because exceptions thrown in Wasm and caught in JS don't get freed unless you explicitly decrement the refcount.
…ation (#26517) Like WebAssembly/binaryen#8507, there can be people who use this methods at `-O1` or above. This adds more explanation of the workaround in ChangeeLog, site docs, and the deprecation message. You don't strictly need `decrementExceptionRefcount` to use `getExceptionMessage`, but you need it if you care about asan, because exceptions thrown in Wasm and caught in JS don't get freed unless you explicitly decrement the refcount.
See emscripten-core/emscripten#26499