Re:The Path to Rust
by tatterdemalion on Friday May 27, 2016 @04:07PM
(#11788578)
C FFI structs have to be marked `#[repr(C)]` to guarantee they'll be represented how C structs would be. It might be a reasonable change to implicitly allow dead fields on any struct with a C repr (since using the struct in C effectively makes all of its fields public).
[ Parent
| on HN ]
There are no comments on this comment yet.