Skip to content

Commit 38e1646

Browse files
authored
[Docs] Fix typos in the flag wasm-exceptions (#24238)
It was spelled without the final 's' sometimes.
1 parent 33845fb commit 38e1646

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

ChangeLog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ See docs/process.md for more on how version tagging works.
878878
`ASSERTIONS` is enabled. This option is mainly for the users who want only
879879
exceptions' stack traces without turning `ASSERTIONS` on. (#18642 and #18535)
880880
- `SUPPORT_LONGJMP`'s default value now depends on the exception mode. If Wasm
881-
EH (`-fwasm-exception`) is used, it defaults to `wasm`, and if Emscripten EH
881+
EH (`-fwasm-exceptions`) is used, it defaults to `wasm`, and if Emscripten EH
882882
(`-sDISABLE_EXCEPTION_CATCHING=0`) is used or no exception support is used, it
883883
defaults to `emscripten`. Previously it always defaulted to `emscripten`, so
884884
when a user specified `-fwasm-exceptions`, it resulted in Wasm EH + Emscripten

site/source/docs/porting/setjmp-longjmp.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ by the ``SUPPORT_LONGJMP`` setting, which can take these values:
1010
* ``emscripten``: JavaScript-based support
1111
* ``wasm``: WebAssembly exception handling-based support
1212
* 0: No support
13-
* 1: Default support, depending on the exception mode. ``wasm`` if ``-fwasm-exception`` is used, ``emscripten`` otherwise.
13+
* 1: Default support, depending on the exception mode. ``wasm`` if ``-fwasm-exceptions`` is used, ``emscripten`` otherwise.
1414

1515
If :ref:`native Wasm exceptions <webassembly-exception-handling-based-support>`
1616
are used, ``SUPPORT_LONGJMP`` defaults to ``wasm``, and if :ref:`JavaScript-based

site/source/docs/tools_reference/settings_reference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2998,7 +2998,7 @@ little bit of code size and performance when catching exceptions.
29982998

29992999
- 0: No setjmp/longjmp handling
30003000
- 1: Default setjmp/longjmp/handling, depending on the mode of exceptions.
3001-
'wasm' if '-fwasm-exception' is used, 'emscripten' otherwise.
3001+
'wasm' if '-fwasm-exceptions' is used, 'emscripten' otherwise.
30023002

30033003
[compile+link] - at compile time this enables the transformations needed for
30043004
longjmp support at codegen time, while at link it allows linking in the

src/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,7 @@ var MINIMAL_RUNTIME_STREAMING_WASM_INSTANTIATION = false;
19691969
//
19701970
// - 0: No setjmp/longjmp handling
19711971
// - 1: Default setjmp/longjmp/handling, depending on the mode of exceptions.
1972-
// 'wasm' if '-fwasm-exception' is used, 'emscripten' otherwise.
1972+
// 'wasm' if '-fwasm-exceptions' is used, 'emscripten' otherwise.
19731973
//
19741974
// [compile+link] - at compile time this enables the transformations needed for
19751975
// longjmp support at codegen time, while at link it allows linking in the

0 commit comments

Comments
 (0)