Skip to content
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

SYSTEM_INFO does not implement Default #2092

Closed
fsavy-tehtris opened this issue Oct 12, 2022 · 2 comments
Closed

SYSTEM_INFO does not implement Default #2092

fsavy-tehtris opened this issue Oct 12, 2022 · 2 comments
Labels
question Further information is requested

Comments

@fsavy-tehtris
Copy link

This issue was raised in #839, with a plan to be fixed with #656. Unfortunately, #656 was closed as completed, but SYSTEM_INFO still doesn't implement Default.

From my understanding, the problem at the time was the Anonymous union attribute.

@kennykerr kennykerr added the question Further information is requested label Oct 12, 2022
@kennykerr
Copy link
Collaborator

What crate and version are you testing?

The SYSTEM_INFO struct does implement Default in the windows crate and has done so for some time.

The windows-sys crate does not implement Default by design.

@fsavy-tehtris
Copy link
Author

I just noticed I'm using windows-sys in this project. Sorry for the noise and thanks for the quick answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants