-
Notifications
You must be signed in to change notification settings - Fork 748
Additional padding on windows #553
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
because of bindgen still can not handle jvalue, see: rust-lang/rust-bindgen#553 plus remove not used run_tests.sh
huh, why are we padding unions anyway? Thanks for the report. |
Can you paste your log with |
Can you verify #554 fixes it? |
|
At now generated code passed generated tests. I also add |
Let's close this when #554 lands :) |
codegen: Don't pad union fields. Fixes #553
Versions
On both machines bindgen commit d57616c
On windows machine: clang 3.9.0
On linux machine: 3.8.1
Input C/C++ Header
Bindgen Invokation
Actual Results
Expected Results
On linux machine bindgen not generate
pub __bindgen_padding_0: u32,
and add
to test code,
This is only difference between code generated by bindgen (d57616c) on both machines.
The text was updated successfully, but these errors were encountered: