-
Notifications
You must be signed in to change notification settings - Fork 318
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
cbindgen panics during generation #2 #131
Comments
Okay, the problem here is that The issue to fix the root cause is #7. A workaround would be to rename the type alias to something other than |
requires a couple workarounds: - rename queue::Sender -> AutopushSender to avoid cbindgen bug w/ type aliases: mozilla/cbindgen#131 - make structs not representable in C opaque (remove #[repr(C)]) - have to pin to an older serde_derive for now because cbindgen does Closes #1045
requires a couple workarounds: - rename queue::Sender -> AutopushSender to avoid cbindgen bug w/ type aliases: mozilla/cbindgen#131 - make structs not representable in C opaque (remove #[repr(C)]) - have to pin to an older serde_derive for now because cbindgen does Closes #1045
requires a couple workarounds: - rename queue::Sender -> AutopushSender to avoid cbindgen bug w/ type aliases: mozilla/cbindgen#131 - make structs not representable in C opaque (remove #[repr(C)]) - have to pin to an older serde_derive for now because cbindgen does Closes #1045
requires a couple workarounds: - rename queue::Sender -> AutopushSender to avoid cbindgen bug w/ type aliases: mozilla/cbindgen#131 - make structs not representable in C opaque (remove #[repr(C)]) - have to pin to an older serde_derive for now because cbindgen does Closes #1045
requires a couple workarounds: - rename queue::Sender -> AutopushSender to avoid cbindgen bug w/ type aliases: mozilla/cbindgen#131 - make structs not representable in C opaque (remove #[repr(C)]) - have to pin to an older serde_derive for now because cbindgen does Closes #1045
I'm going to close this as a duplicate of #7. |
A little similar to #65 but different, I'm seeing an assertion error when running cbindgen --lang C over the https://github.com/mozilla-services/autopush/tree/master/autopush_rs codebase. It doesn't occur under C++:
I've narrowed it down somewhat to an addition to one of the integration tests, it's blowing up on the Sender type alias:
The text was updated successfully, but these errors were encountered: