Skip to content

Commit ef91bfe

Browse files
committed
Update docs relating to EM_JS and side modules
This was fixed in emscripten-core#19705.
1 parent 4b33521 commit ef91bfe

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ See docs/process.md for more on how version tagging works.
112112
with the new `__i53abi` decorator. When this is set to true, i64 values are
113113
automatically converted to JS numbers (i53) at the JS boundary. Parameters
114114
outside of the i53 will show up as NaN in the JS code (#19711)
115+
- EM_JS functions are now supported in side modules (#19705)
115116

116117
3.1.42 - 06/22/23
117118
-----------------
@@ -357,6 +358,7 @@ See docs/process.md for more on how version tagging works.
357358
occupy linear memory at all. The default for `DEFAULT_PTHREAD_STACK_SIZE` was
358359
also reduced from 2MB to 64KB to match.
359360
- Improved error messages for writing custom JS libraries. (#18266)
361+
- EM_ASM code is now supported in side modules (#18228)
360362

361363
3.1.26 - 11/17/22
362364
-----------------

site/source/docs/compiling/Dynamic-Linking.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -211,9 +211,8 @@ Limitations
211211
``file_packager.py``) to make Emscripten compile them on startup
212212
`[doc] <https://emscripten.org/docs/porting/files/packaging_files.html#preloading-files>`__
213213
`[discuss] <https://groups.google.com/forum/#!topic/emscripten-discuss/cE3hUV3fDSw>`__.
214-
- ``EM_ASM`` code defined within side modules depends on ``eval`` support are
215-
is therefore incompatible with ``-sDYNAMIC_EXECUTION=0``.
216-
- ``EM_JS`` functions defined in side modules are not yet supported.
214+
- ``EM_ASM`` and ``EM_JS`` code defined within side modules depends on ``eval``
215+
support are is therefore incompatible with ``-sDYNAMIC_EXECUTION=0``.
217216

218217

219218
Pthreads support

0 commit comments

Comments
 (0)