spacejam / rio

pure rust io_uring library, built on libc, thread & async friendly, misuse resistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to compile for x86_64-unknown-linux-musl target

agend opened this issue · comments

cargo build --target x86_64-unknown-linux-musl

   Compiling rio v0.9.3 ()
error[E0451]: field `__pad1` of struct `libc::unix::linux_like::linux::musl::b64::msghdr` is private
  --> src/io_uring/in_flight.rs:40:17
   |
40 |                 __pad1:0,
   |                 ^^^^^^^^ private field

error[E0451]: field `__pad2` of struct `libc::unix::linux_like::linux::musl::b64::msghdr` is private
  --> src/io_uring/in_flight.rs:41:17
   |
41 |                 __pad2:0
   |                 ^^^^^^^^ private field

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0451`.
error: could not compile `rio`.

To learn more, run the command again with --verbose.