News for hackers. Stuff that matters.
Re:Announcing Rust 1.19 by JoshTriplett on Friday July 21, 2017 @01:46AM (#14818332)
> A kind of similar issue appears even with enums, because it is hard to guess the size of the integer that a given enum is implemented with.

True; fortunately, Rust has a means of declaring the size of an enum, with #[repr(u8)] and similar. But you do have to figure out the size of the C enum.

There are no comments on this comment yet.