Function wasmer_emscripten::set_up_emscripten
source · pub fn set_up_emscripten(
store: &mut impl AsStoreMut,
instance: &mut Instance
) -> Result<(), RuntimeError>
Expand description
Call the global constructors for C++ and set up the emscripten environment.
Note that this function does not completely set up Emscripten to be called.
before calling this function, please initialize Ctx::data
with a pointer
to EmscriptenData
.