Skip to content

Now-safe cpuid triggers unused_unsafe #1990

@mkroening

Description

@mkroening

@joshtriplett wrote in rust-lang/rust#146560 (comment):

That said, counterproposal: rather than a target feature, can we transition to cpuid being universally safe (using the mechanisms we normally use to move something from unsafe to safe without provoking widespread warnings about unused unsafe)?

cpuid currently triggers unused_unsafe (see rust-osdev/x86_64#575). Is this intentional?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions