Bindgen should be configured to use union + ManuallyDrop · Issue #1137 · Rust-for-Linux/linux (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@workingjubilee

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.