Linux/bindgen - dealing with struct members being moved into unions

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust-bindgen

    Automatically generates Rust FFI bindings to C (and some C++) libraries.

  • Bindgen issue (mostly for discussion): https://github.com/rust-lang/rust-bindgen/issues/2077.

  • rfcs

    RFCs for changes to Rust

  • RFC 2102 would allow Rust to support this natively, so that you could change the field to an unnamed union of two fields.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts