Skip to content

edittion-2-post4 #1192

Discussion options

You must be logged in to vote

I fixed this by add the following code.

#[cfg(test)]
#[allow(non_snake_case)]
#[no_mangle]
pub extern "C" fn _Unwind_Resume() -> ! { loop {} }

#[cfg(test)]
#[lang = "eh_personality"]
extern "C" fn eh_personality() {}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by phil-opp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant