rust-bindgen
rust-bindgen copied to clipboard
Bindgen trying to derive default for types that can't be.
pub __bindgen_padding_0: [u8; 40usize],
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait Default is not implemented for [u8; 40]
This very well may be something I (should) have to work around, but could you please explain the meaning of "when possible" in the doc?
$ rustup show
Default host: x86_64-pc-windows-msvc
rustup home: C:\Users\ddumont\.rustup
installed toolchains
--------------------
stable-x86_64-pc-windows-msvc (default)
1.86.0-x86_64-pc-windows-msvc
active toolchain
----------------
stable-x86_64-pc-windows-msvc (default)
rustc 1.85.0 (4d91de4e4 2025-02-17)