Skip to content

Bindgen trying to derive default for types that can't be. #3206

New issue

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

Open
hcldan opened this issue May 8, 2025 · 0 comments
Open

Bindgen trying to derive default for types that can't be. #3206

hcldan opened this issue May 8, 2025 · 0 comments

Comments

@hcldan
Copy link
Contributor

hcldan commented May 8, 2025

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?

Image

$ 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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant