News for hackers. Stuff that matters.
Re:Stack unwinding in Rust by DasIch on Friday October 31, 2014 @01:21PM (#8539910)
So how does Rust currently deal with calling into a C function which calls into a Rust function that panics?

From what I understand based on the article and assuming you don't know which C compiler was used, it seems like this would be impossible to properly deal with and produce undefined behavior.

Re:Stack unwinding in Rust by veddan on Friday October 31, 2014 @05:44PM (#8541265)
Unwinding through C is undefined behavior, so a Rust function called from C must catch all exceptions and (preferably) return an error code to the C caller.