Skip to content

target-feature detection run-time #366

Open
@gnzlbg

Description

@gnzlbg

I've submitted an RFC (rust-lang/rfcs#2725) that allows #![no_std] applications to use the target-feature detection macros, and customize the detection run-time. A

For embedded devices, you often know all features available at compile-time, so doing run-time detection is probably moot, unless you want to ship the same binary to different embedded devices, or have an heterogeneous device and want some code to use features of certain cores when available.

Either way, the RFC should cover these use cases, but thought some of you might be interesting in triple-checking that it would work for their use cases as well.

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