> My code doesn't currently use panic::recover. What
> happens when somebody doesn't use it and an exception hits the FFI
> boundary? Undefined behavior?

Technically, yes, undefined behavior. It's specifically undefined to unwind 
past an FFI boundary.

Practically on Linux this will abort the process so long as there's no C++ 
stack frame that's trying to catch an exception.

> What is the timeline for getting this stabilized?

The panic hook support is likely to become stable in 1.9, the RFC I mentioned 
would likely be later as it needs to be accepted, implemented, and then 
stabilized.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to