rust-lang / rust-bindgen

Automatically generates Rust FFI bindings to C (and some C++) libraries.
https://rust-lang.github.io/rust-bindgen/
BSD 3-Clause "New" or "Revised" License
4.23k stars 679 forks source link

Added non-exhaustive enums to the CLI #2847

Closed rdelfin closed 1 week ago

rdelfin commented 3 weeks ago

Currently the CLI allows for all other enum builder options except for non-exhaustive rustified enums. This PR fixes the omission.

Solves #2846

rdelfin commented 3 weeks ago

Clippy errors look unrelated to my change but feel free to correct me

rdelfin commented 1 week ago

Sorry for the delay! Should be sorted now