4 ms·
The source[0] has `repr(packed)` but they should be using `repr(C, packed)`. That'll blow up in a future rust version (possibly 1.80) since packed alone is not
by the8472 2y ago
The source[0] has `repr(packed)` but they should be using `repr(C, packed)`. That'll blow up in a future rust version (possibly 1.80) since packed alone is not sufficient to guarantee ordering[1].
[0] https://github.com/bootreer/vroom/blob/37bd8a22f5e0550b2cbc97b78e3e245d9b72a0e7/src/cmd.rs#L4 https://github.com/bootreer/vroom/blob/37bd8a22f5e0550b2cbc9...
[1] https://doc.rust-lang.org/reference/type-layout.html#the-alignment-modifiers https://doc.rust-lang.org/reference/type-layout.html#the-ali...