-
Notifications
You must be signed in to change notification settings - Fork 695
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
Support for generating bindings with the C-unwind
ABI
#2224
Comments
|
rust-lang/rust#101263 was just merged so as of the next nightly, structs with C-unwind fn pointers will be able to implement |
A function MUST be marked As far as I'm aware, on all current platforms which support |
ok my question is a bit less broad than that. How can bindgen determine from the headers if a function is |
My understanding is the decision to mark a function as C ABI or C-unwind ABI depends on whether the code is compiled with This is an out of band configuration that is passed to the C/C++ compiler, so I'd expect a configuration option for bindgen to alter its behavior. |
Feature request for generating bindings with the
C-unwind
ABI for generated functions and function pointers. I'd love for this to be supported both via the bindgen Rust API and CLI.See:
The text was updated successfully, but these errors were encountered: