You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The enums used on Haiku are currently broken: they have no `repr`
attribute so Rust is treating them as a `u8` when they need to be
`c_int`. This is flagged by `improper_ctypes`, which only shows up now
that this lint got removed.
Since this is broken anyway, we may as well just switch to `c_enum!`.
This is a user-visible breaking change, but allowed as the target is
tier 3.
Partially cherry picked from commit a541bf4 ("libc: remove uses of
enum as per #4419").
Co-authored-by: mbyx <[email protected]>
0 commit comments