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
Fix c_char vs u8 errors in the linux_raw backend. (#971)
* Fix `c_char` vs `u8` errors in the linux_raw backend.
Fix the linux_raw backend to handle the case where linux-raw-sys defines
`c_char` as `i8`.
linux-raw-sys used to always define `c_char` as `u8` because it usually
isn't important to match the platform `char` type, but that makes it
inconvenient to work with Rust's `CStr`/`CString` types which use `c_char`,
so linux-raw-sys has started defining `c_char` as `i8` on platforms
which define it that way.
* Fix redundant `unsafe` blocks.
0 commit comments