-
Notifications
You must be signed in to change notification settings - Fork 698
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
No constructor generated when specifying --generate types,methods,functions,vars
#556
Comments
This assumes that |
ping @emilio. Any thoughts on this? |
I assumed that rust would do RVO and avoid the move itself, but yeah, it'd be safer to just provide a |
I'm looking into the code generation issue. Thanks for the ping, this got lost in a pile of other email :( |
options: Allow configuring the generation of constructors. Fixes #556 Sorry for the delay fixing this btw.
This is fixed now. |
Input C/C++ Header
Bindgen Invokation
bindgen test.h --generate types,methods,functions,vars -- -x c++
Actual Results
Expected Results
I should get the output from
bindgen test.h -- -x c++
, which includes the constructor:RUST_LOG=bindgen
OutputThe text was updated successfully, but these errors were encountered: