mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-05 02:20:19 +00:00
add more prints
This commit is contained in:
parent
396a555145
commit
d37b2f8bf9
@ -192,10 +192,12 @@ pub unsafe fn begin_unsafe_unwind(
|
||||
let unwind = UNWIND.with(|x| x.get());
|
||||
match (*unwind).as_mut() {
|
||||
Some(inner) => {
|
||||
println!("begin_unsafe_unwind some");
|
||||
inner.payload = Some(e);
|
||||
raw::longjmp(&mut inner.jmpbuf as *mut SetJmpBuffer as * mut _, 0xffff)
|
||||
},
|
||||
None => {
|
||||
println!("begin_unsafe_unwind none, signum is {}", signum);
|
||||
let sig = Signal::from_c_int(signum).unwrap_or_else(|_| ::std::process::abort());
|
||||
match sig {
|
||||
// just abort if the previous handler hasn't been set
|
||||
|
Loading…
Reference in New Issue
Block a user