Closed
Description
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.
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;
};
Expected Results
No #[derive(Default)]
for struct timex
that contains __BindgenBitfieldUnit<[u8; 44usize]>
Metadata
Metadata
Assignees
Labels
No labels