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

Figure out how to catch C++ exceptions (right now everything just blows up). #7

luizirber opened this issue Nov 8, 2019 · 0 comments


Copy link

@luizirber luizirber commented Nov 8, 2019

A mix of and rust-lang/rust-bindgen#1208 should be enough. Ideally it would be better to have exceptions never cross thru a C call (wrap in a try/catch block, and return an error code?), but I can use this ideas from the links to wrap all functions that do throw exceptions and expose them to Rust.

(Punted from #3)

@luizirber luizirber added the rust label Nov 8, 2019
@luizirber luizirber self-assigned this Nov 8, 2019
@luizirber luizirber referenced this issue Nov 8, 2019
3 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.