Skip to content

Commit f5fd1ed

Browse files
committedMar 22, 2025
Fix tags on deprecated settings. NFC
1 parent 95518ae commit f5fd1ed

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed
 

‎site/source/docs/tools_reference/settings_reference.rst

+4
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,8 @@ emulated values may not match (this is true of native too, for that matter -
469469
this is all undefined behavior). This approaches appears good enough to
470470
support Python, which is the main use case motivating this feature.
471471

472+
.. note:: This setting is deprecated
473+
472474
Default value: false
473475

474476
.. _exception_debug:
@@ -3096,6 +3098,8 @@ normal wasm or that wasm2js code. For details of how to do that, see the
30963098
test_maybe_wasm2js test. This option can be useful for debugging and
30973099
bisecting.
30983100

3101+
.. note:: This setting is deprecated
3102+
30993103
Default value: false
31003104

31013105
.. _asan_shadow_size:

‎src/settings.js

+2
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ var SAFE_HEAP_LOG = false;
344344
// this is all undefined behavior). This approaches appears good enough to
345345
// support Python, which is the main use case motivating this feature.
346346
// [link]
347+
// [deprecated]
347348
var EMULATE_FUNCTION_POINTER_CASTS = false;
348349

349350
// Print out exceptions in emscriptened code.
@@ -2027,6 +2028,7 @@ var MINIFY_HTML = true;
20272028
// test_maybe_wasm2js test. This option can be useful for debugging and
20282029
// bisecting.
20292030
// [link]
2031+
// [deprecated]
20302032
var MAYBE_WASM2JS = false;
20312033

20322034
// This option is no longer used. The appropriate shadow memory size is now

‎tools/settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@
117117
#
118118
# At some point in the future, once folks have stopped using these
119119
# settings we can move them to `LEGACY_SETTINGS`.
120+
#
121+
# All settings here should be tagged as `[deprecated]` in settings.js
120122
DEPRECATED_SETTINGS = {
121123
'SUPPORT_ERRNO': 'emscripten no longer uses the setErrNo library function',
122124
'EXTRA_EXPORTED_RUNTIME_METHODS': 'please use EXPORTED_RUNTIME_METHODS instead',

0 commit comments

Comments
 (0)
Failed to load comments.