Skip to content

Bindgen should be configured to use union + ManuallyDrop #1137

Description

@workingjubilee

re: Richardhongyu/rfl_empirical_tools#1
re: https://www.usenix.org/system/files/atc24-li-hongyu.pdf

Researchers see that bindgen currently uses the __BindgenUnionField and then make logically incorrect accusations about the (in)capabilities of rustc. Accusations that nonetheless survive peer review because they were not reviewed by Rust ABI experts, precious few of those there are, because most of those people are not considered acclaimed academes. At least, not in the halls of "computer science".

These researchers should be rebutted by adjusting the configuration accordingly, or else new subissues should be filed reflecting the challenges involved in doing so against rust-bindgen and/or rustc, until this issue is resolved.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    • toolchainRelated to `rustc`, `bindgen`, `rustdoc`, LLVM, Clippy...

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions