Oddbean new post about | logout
 [$] Improving bindgen for the kernel


<a href="https://rust-lang.github.io/rust-bindgen/" rel="nofollow">
Bindgen</a> is a widely used tool that automatically generates Rust bindings from C
headers. The
<a href="https://rust-for-linux.com/" rel="nofollow">
Rust-for-Linux</a> project uses it to create some of
the bindings between Rust code and the rest of the kernel. John Baublitz
presented at Kangrejos about the improvements that he has made to the tool in
order to make the generated bindings easier to use, including improved support
for macros, bitfields, and enums.


https://lwn.net/Articles/992693/