Hack together enough emscripten stack stuff to make it happy

This commit is contained in:
Lachlan Sneff
2018-11-25 23:56:21 -05:00
parent 88235eab37
commit 4015fb6193
7 changed files with 77 additions and 13 deletions

View File

@ -454,6 +454,7 @@ impl Instance {
let to_init = &mut mem_mut[offset..offset + init.data.len()];
to_init.copy_from_slice(&init.data);
}
crate::apis::emscripten::emscripten_set_up_memory(&mut memories[0]);
}
let start_func: Option<FuncIndex> =