-
Notifications
You must be signed in to change notification settings - Fork 745
mixing header
and header_contents
always panics
#1771
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
Comments
Thanks for reporting! I think this is likely a silly error in how we build the argument list in combination of these two options, and should be easy to figure out what is going on. |
Hey @emilio, I've updated my previous commit and added a couple of tests, it seems there are no regressions this time. |
Is there anything still blocking merge of this PR? I ended up taking a dependency on this and can't cargo-publish with a dependency on an unofficial fork. |
Yes, CI was failing, and there was some discussion about some test changes that didn't happen. Guess we can take the test as is, and I can fix the CI failures. |
@emilio Can we get a patch release with this change integrated? |
Hi, i'm unable to use
header(...)
andheader_contents(...)
for the same bindings generation, libclang always panics.Input C/C++ Header
Header content doesn't matter, it even happen when headers are empty.
Bindgen Invocation
Actual Results
Expected Results
I just expected a bindings result, not a panic.
The text was updated successfully, but these errors were encountered: