Skip to content

x/sys/cpu: should HWCap and HWCap2 be exported? #30255

@mundaym

Description

@mundaym

Are cpu.HWCap and cpu.HWCap2 supposed to be exported as part of the cpu API? I can't see any discussion about this in CL 150718 where they were added. Presumably they should be properly documented if they are supposed to be exposed.

They are only exposed on non-x86 Linux machines so I expect we could just un-export them if they aren't supposed to be exported...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions