-
Notifications
You must be signed in to change notification settings - Fork 694
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
Add bindgen::Builder::derive_copy
to control whether we emit derive(Copy)
on type definitions
#948
Comments
It should be pretty straightforward to add a Happy to mentor anyone who wants to take this. |
Hi! If you have any questions regarding this issue, feel free to make a comment here, or ask it in the If you intend to work on this issue, then add |
bindgen::Builder::derive_copy
to control whether we emit derive(Copy)
on type definitions
That is certainly a bug, but it also makes sense to allow people to avoid deriving |
@fitzgen I'd be happy to help out with this. Just getting into Rust and looking for ways to contribute in my spare time. I've opened a PR for this containing some trivial changes. Will need some help with the rest. |
@highfive: assign me |
Hey @mchlrhw! Thanks for your interest in working on this issue. It's now assigned to you! |
Add `bindgen::Builder::derive_copy` Fixes #948
I'm getting a lot of errors like
the trait Copy may not be implemented for this type
, so I went to disable it like I did for.derive_debug
, but there isn't an option to turn it off. Shouldn't there be?The text was updated successfully, but these errors were encountered: