-
Notifications
You must be signed in to change notification settings - Fork 742
Debug derived when not allowed #246
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
Actually on closer inspection I see that
(that output taken from compiling the pthreads example) |
By the way, I'd actually prefer not to generate Rust code to match pthreads headers at all - is there a way of excluding such things from the output? |
One of the pending stuff is writing better documentation in how to filter stuff, I use to point to Stylo's (Servo's style system in Gecko) script, but that's become really complex lately, so I'd rather write generic documentation :) |
gotcha thanks - and thanks for the impressively quick turnaround on the bug reports! |
No problem! And thank you for reporting them! :) |
Eg change
tests/headers/union_with_big_member.h
like this:Then the output is like this:
But the array
b
of __BindgenUnionFieldis too large for
#[derive(Debug)]` to be allowed.I hit this with a header file that pulls in
pthreads
: in particularThe text was updated successfully, but these errors were encountered: