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

Fix system informations cpu_brand always being empty #2797

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AMS21
Copy link

@AMS21 AMS21 commented Feb 7, 2025

This was caused by a misuse of the global_cpu_info function, which does not contain a valid cpu_brand field.

To fix this, we now get the first cpu and return it's brand instead.

With this patch the system_information example now correctly displays as
Screenshot_20250207_085114

Fixes #2794

This was caused by a misuse of the `global_cpu_info` function, which
does not contain a valid `cpu_brand` field.

To fix this, we now get the first cpu and return it's brand instead.

Fixes iced-rs#2794
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

Successfully merging this pull request may close these issues.

System informations cpu_brand is always empty
1 participant