Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust error handling #48

Open
sneurlax opened this issue Jun 14, 2024 · 0 comments
Open

Rust error handling #48

sneurlax opened this issue Jun 14, 2024 · 0 comments

Comments

@sneurlax
Copy link
Member

sneurlax commented Jun 14, 2024

Catch panics and make sure Rust doesn’t unwind across the FFI boundary
https://docs.rs/ffi_helpers/latest/ffi_helpers/panic/fn.catch_panic.html and attempt to catch errors as in https://docs.rs/ffi_helpers/latest/ffi_helpers/panic/fn.recover_panic_message.html

Handle errors as in https://docs.rs/ffi_helpers/latest/ffi_helpers/error_handling/index.html

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

No branches or pull requests

1 participant