-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Proposal: @cpuid builtin #3622
Labels
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Milestone
Comments
https://en.wikipedia.org/wiki/CPUID |
There's nothing in zig (apart from |
I agree; there is no practical benefit to that functionality, so it would just increase the compiler's complexity without providing any real benefits. |
This proposal has a couple issues in my opinion:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
proposal
This issue suggests modifications. If it also has the "accepted" label then it is planned.
Possible new builtin:
New module:
cpuid.zig
(I can take it)Comptime: returns host's results
Runtime: returns target's results
Related: #215, #767, #1018
The text was updated successfully, but these errors were encountered: