mirror of
https://github.com/fluencelabs/wasmer
synced 2025-06-22 21:21:33 +00:00
add details when calling unimplemented!
This commit is contained in:
@ -98,7 +98,10 @@ pub fn call_protected<T>(
|
||||
},
|
||||
Ok(SIGSEGV) | Ok(SIGBUS) => WasmTrapInfo::MemoryOutOfBounds,
|
||||
Ok(SIGFPE) => WasmTrapInfo::IllegalArithmetic,
|
||||
_ => unimplemented!(),
|
||||
_ => unimplemented!(
|
||||
"WasmTrapInfo::Unknown signal:{}",
|
||||
Signal::from_c_int(signum)
|
||||
),
|
||||
}))
|
||||
} else {
|
||||
let signal = match Signal::from_c_int(signum) {
|
||||
|
Reference in New Issue
Block a user