Structs§
- EmEnv
- The environment provided to the Emscripten imports.
- Emscripten
Data - Emscripten
Globals - Emscripten
Globals Data - Libc
DirWrapper
Constants§
- VERSION
- The current version of this crate
Functions§
- align_
memory - allocate_
cstr_ ⚠on_ stack - allocate_
on_ ⚠stack - emscripten_
call_ main - Call the main function in emscripten, assumes that the emscripten state is set up.
- emscripten_
set_ up_ memory - generate_
emscripten_ env - get_
emscripten_ memory_ size - get_
emscripten_ metadata - Reads values written by
-s EMIT_EMSCRIPTEN_METADATA=1
Assumes values start from the end in this order: Last export: Dynamic Base Second-to-Last export: Dynamic top pointer - get_
emscripten_ table_ size - is_
emscripten_ module - We check if a provided module is an Emscripten generated one
- nullfunc
- run_
emscripten_ instance - Top level function to execute emscripten
- set_
up_ emscripten - Call the global constructors for C++ and set up the emscripten environment.
- static_
alloc