-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Use core::arch::x86_64::has_cpuid
#3271
Comments
Mh, the rust-lang issue you linked is closed, and it seems that there is some bug marking the cpuid function as nightly even though it should be stable rust-lang/rust#98253 |
The issue tracking this on rust's side has yet again changed: rust-lang/rust#60123 |
That being said, Wikipedia has this to say about the
And it also seems that either x86_64 CPUs without CPUID support don't exist, or even the linux kernel wouldn't work on them (https://www.geoffchappell.com/studies/windows/km/cpu/cpuid/index.htm), so why do we need to ever do such a check in the first place? 🤔 |
You probably do not, and if you ever did want to actually know about the CPU's cpuid support, you would want to also ask questions about e.g. whether the |
Hi @workingjubilee, So I am going ahead with closing this issue :) |
It would be preferable to use the more general
core::arch::x86_64::has_cpuid
to check for CPUID support.Blocked on: rust-lang/rust#48556
The text was updated successfully, but these errors were encountered: