Skip to content

Use Rust union types #1020

Open
Open
@asomers

Description

@asomers

Rust gained a union type in 1.19.0. libc wraps many C unions poorly, usually by pretending they're structs and ignoring some fields. For example, https://github.com/rust-lang/libc/blob/master/src/unix/mod.rs#L156 . libc should update all of these to use the correct union types before release 1.0. It should be fairly easy to find them all, because all of them are listed as exclusions in libc-test/build.rs.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions