Open
Description
See the attached rust crate, which generates a binding for a simple structure in a c99 h file.
When the cargo build
command is run, build.rs
generates a binding file, which is included in lib.rs
the binding file creates struct resource
which has two bitfields. the second is
pub _bitfield_2: __BindgenBitfieldUnit<[u8; 7usize]>,
i believe that bitfield should be 6 bytes wide (containing struct members r, s, t, u, v, w, x, y, and z, and totaling 48 bits). that bitfield is 7 bytes wide which causes the build to fail. is this a bug in bindgen or have i missed something?
Thank you for your attention.
Metadata
Metadata
Assignees
Labels
No labels