Skip to content

Start emitting unions in stable mode #832

@fitzgen

Description

@fitzgen

They're in stable now: https://blog.rust-lang.org/2017/07/20/Rust-1.19.html

Basically, we can go through all of the places where we check ctx.options().unstable_rust and use that to decide whether to use unions or not, and just always use the unions. We can also get rid of the BindgenUnion type now.

And finally, we can update the user guide's section on using unions.

I'm happy to mentor anyone who wants to pick this up.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions