Skip to content

check bytes of repr(C) enums #15

Description

@dvc94ch

any way to do it? I guess repr(C) is not defined on enums, although I'd hope it would generate something like this:

#[repr(C)]
struct {
    discriminant: u8, 
    variant: #[repr(C)] union,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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