Skip to content

support bit fields for C interop #314

@rust-highfive

Description

@rust-highfive

Bitfields are commonly encountered when interacting with C code. Since many of the details of the behavior of bitfields are left to the implementation, it is hard to write cross-platform rust code that uses bitfields correctly. (Source: #1449)

Prior RFCs and other citations:

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-data-typesRFCs about data-typesA-ffiFFI related proposals.A-repr#[repr(...)] related proposals & ideasT-langRelevant to the language team, which will review and decide on the RFC.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions