File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,15 @@ See docs/process.md for more on how version tagging works.
36
36
- The ` --bind ` flag used to enable embind has been deprecated in favor of
37
37
` -lembind ` . The semantics have not changed and the old flag continues to
38
38
work. (#16087 )
39
+ - New setjmp/longjmp support using Wasm EH instructions is added, which is
40
+ faster and reduces code size. You need a browser that supports Wasm EH spec to
41
+ use it. The new SjLj support is enabled by ` -sSUPPORT_LONGJMP=wasm ` . This can
42
+ be used with Wasm exception support (` -fwasm-exceptions ` ), but not with
43
+ Emscripten exception support (` -fexceptions ` or
44
+ ` -sDISABLE_EXCEPTION_CATCHING=0 ` ). When using Wasm EH with Wasm SjLj, there is
45
+ one restriction that you cannot directly call ` setjmp ` within a ` catch `
46
+ clause. (Calling another function that calls ` setjmp ` is fine.)
47
+ (#14976 and #16072 )
39
48
40
49
3.1.2 - 20/01/2022
41
50
------------------
You can’t perform that action at this time.
0 commit comments