mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-20 04:06:30 +00:00
Adapted all emscripten import functions
This commit is contained in:
@ -25,7 +25,8 @@ pub extern "C" fn __setjmp(env_addr: u32, ctx: &mut Ctx) -> c_int {
|
||||
}
|
||||
|
||||
/// longjmp
|
||||
pub extern "C" fn __longjmp(env_addr: u32, val: c_int, ctx: &mut Ctx) -> ! {
|
||||
#[allow(unreachable_code)]
|
||||
pub extern "C" fn __longjmp(env_addr: u32, val: c_int, ctx: &mut Ctx) {
|
||||
debug!("emscripten::__longjmp (longmp)");
|
||||
unsafe {
|
||||
// We retrieve the jump index from the env address
|
||||
|
Reference in New Issue
Block a user