Wrap all exported functions to catch and unwind #2
Labels
FFI:UB
FFI: our ffi has undefined behaviour
Issue:Easy
Issue: a good way to start contributing, mentoring is available
Uh oh!
There was an error while loading. Please reload this page.
All panics must be catch and unwind otherwise it is UB.
I recommend use
catch_unwind
with the followingif let
:You can create
macro
or function to resolve itIn currently implementation:
We can split to:
Or add this behavior to
ffi::specialize_for
The text was updated successfully, but these errors were encountered: