Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Catch unwinds in native callbacks #9

Open
kmod-midori opened this issue Nov 22, 2020 · 0 comments
Open

Catch unwinds in native callbacks #9

kmod-midori opened this issue Nov 22, 2020 · 0 comments

Comments

@kmod-midori
Copy link
Contributor

According to this article, unwinding across FFI boundary is still a UB, which we'd better avoid.
Even though we can carefully examine our code to ensure that no unwrap is there, accidents can still happen, turning a programming mistake into a live accident.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant