This is my understanding of the various Rust extern "C" ABIs, and how panics interact with FFI boundaries. I could be wrong about some stuff, but I feel pretty confident from my testing that this information is correct (for now).
Repo: https://github.com/jonathanrlouie/ffi-panic-test