add misc changes while debugging

This commit is contained in:
Mark McCaskey
2019-05-03 17:34:57 -07:00
parent 7cd1cd6767
commit 353ff60c0f
7 changed files with 85 additions and 28 deletions

View File

@ -7,7 +7,7 @@ use wasmer_runtime_core::vm::Ctx;
/// setjmp
pub fn __setjmp(ctx: &mut Ctx, _env_addr: u32) -> c_int {
debug!("emscripten::__setjmp (setjmp)");
abort_with_message(ctx, "missing function: _longjmp");
abort_with_message(ctx, "missing function: _setjmp");
unreachable!()
// unsafe {
// // Rather than using the env as the holder of the jump buffer pointer,