Thomas Bertschinger
Thomas Bertschinger
When a C struct has both `packed` and `aligned(N)` attributes, in some cases bindgen generates a Rust struct with a `packed(N)` attribute only that has the correct ABI. (Note, I'm...
this addresses a panic when `rustfmt --check` makes a `write()` call that fails. There have been a few issues that already discussed this: https://github.com/rust-lang/rustfmt/issues/5114 https://github.com/rust-lang/rustfmt/issues/2926 On one of the issues...
NOTE: I know this can use some cleanups and more documentation / comments, etc. but for now I'm just uploading it as an RFC to see if you like the...
When targeting an architecture where the natural alignment of 64-bit integer types is 4 instead of 8, bindgen can create BindgenUnion types that get an alignment of 4 when the...
NOTE: I know this can use some cleanups and more documentation / comments, etc. but for now I'm just uploading it as an RFC to see if you like the...