Crate wasmer_emscripten_asml_fork[][src]

Structs

EmEnv

The environment provided to the Emscripten imports.

EmscriptenData
EmscriptenGlobals
EmscriptenGlobalsData
LibcDirWrapper

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