Skip to content

Commit 4cb7739

Browse files
authored
[Docs] Mark -sWASM_EXNREF as a link-only setting (#22769)
``` emcc: error: linker setting ignored during compilation: 'WASM_EXNREF' [-Wunused-command-line-argument] [-Werror] ```
1 parent 10cb9d4 commit 4cb7739

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

site/source/docs/tools_reference/settings_reference.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1166,8 +1166,6 @@ Emit instructions for the new Wasm exception handling proposal with exnref,
11661166
which was adopted on Oct 2023. The implementation of the new proposal is
11671167
still in progress and this feature is currently experimental.
11681168

1169-
.. note:: Applicable during both linking and compilation
1170-
11711169
Default value: false
11721170

11731171
.. _nodejs_catch_exit:

src/settings.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ var EXCEPTION_STACK_TRACES = false;
781781
// Emit instructions for the new Wasm exception handling proposal with exnref,
782782
// which was adopted on Oct 2023. The implementation of the new proposal is
783783
// still in progress and this feature is currently experimental.
784-
// [compile+link]
784+
// [link]
785785
var WASM_EXNREF = false;
786786

787787
// Emscripten throws an ExitStatus exception to unwind when exit() is called.

0 commit comments

Comments
 (0)