Skip to content

Use is_x86_feature_detected instead of CPUID #5

Closed
@jethrogb

Description

@jethrogb

Rust provides a macro is_x86_feature_detected to figure out what features are supported. It knows about platform-specific ways to detect features and caches the results for future invocations. This should be used instead of calling cpuid directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions