Skip to content

Derive Debug for CpuidResult #615

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

Merged
merged 1 commit into from
Dec 12, 2018

Conversation

nvzqz
Copy link
Contributor

@nvzqz nvzqz commented Dec 12, 2018

Being able to println!("{:#?}", cpuid_result) and seeing all the registers in one go is nice to have.

@alexcrichton alexcrichton merged commit 134e53d into rust-lang:master Dec 12, 2018
@alexcrichton
Copy link
Member

👍

@gnzlbg
Copy link
Contributor

gnzlbg commented Dec 12, 2018

Does one need to feature gate this or is it ok to just add the impl ?

@nvzqz
Copy link
Contributor Author

nvzqz commented Dec 12, 2018

I am under the impression that trait impls are auto-stabilized. Idk whether that's still the case.

@alexcrichton
Copy link
Member

Ah yeah we have no way of gating this implementation and later stabilizing, but that's fine and we accept Debug without FCP/stabilization typically anyway

@gnzlbg
Copy link
Contributor

gnzlbg commented Dec 12, 2018

👍 just triple-checking, thanks!

@nvzqz nvzqz deleted the cpuid-result-debug branch December 12, 2018 19:57
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.

3 participants