We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello
I read this PR #1719 that prevents Default trait from deriving for structures that contain __BindgenBitfieldUnit with too large array.
Default
__BindgenBitfieldUnit
But with rust 1.53 and bindgen 0.59 this problem raises again.
Quote from tests/headers/timex.h If the comment // bindgen-flags: --rust-target 1.40 is removed, cargo test timex fails.
tests/headers/timex.h
// bindgen-flags: --rust-target 1.40
cargo test timex
struct timex { int tai; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; int :32; };
No #[derive(Default)] for struct timex that contains __BindgenBitfieldUnit<[u8; 44usize]>
#[derive(Default)]
struct timex
__BindgenBitfieldUnit<[u8; 44usize]>
The text was updated successfully, but these errors were encountered:
Hmm, thanks for filing, then this is likely a regression from #2070. CC @ian-p-cooke
Sorry, something went wrong.
271eeb0
No branches or pull requests
Hello
I read this PR #1719 that prevents
Default
trait from deriving for structures that contain__BindgenBitfieldUnit
with too large array.But with rust 1.53 and bindgen 0.59 this problem raises again.
Input C/C++ Header
Quote from
tests/headers/timex.h
If the comment
// bindgen-flags: --rust-target 1.40
is removed,cargo test timex
fails.Expected Results
No
#[derive(Default)]
forstruct timex
that contains__BindgenBitfieldUnit<[u8; 44usize]>
The text was updated successfully, but these errors were encountered: