-
Notifications
You must be signed in to change notification settings - Fork 742
Auto-generated test failure #1318
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
Does it happen if you enable repr(align) with rust_target? Otherwise it's expected, we can't just represent 16 bytes of alignment. I guess now that i128 / u128 are stable we could, but we have repr align too... |
How do I enable repr(align)? |
Setting it to nightly, assuming nightly is new enough, should enable repr(align) support. |
I assuming this worked? Otherwise I don't want to lose track of it |
tested again with a different system:
built bindgen from git (commit |
Yeah, I could repro this... |
This should be fixed now after #1391 and related work, as long as you use a rust target that supports repr(align). |
This is the smallest case I got, based on clangs internal definition of
max_align_t
, in the header__stddef_max_align_t.h
used in the libc headerstddef
:Produces the following error:
system info:
The commit is unknown because I'm using the rustc-nightly package for termux from the "its-pointless" repository.
The text was updated successfully, but these errors were encountered: