While using socket API in cloud-hypervisor project, I noticed an inconsistency with msghdr struct between gnu and musl targets.
In gnu
msghdr.msg_iovlen is declared as size_t
|
pub msg_iovlen: ::size_t, |
In musl
msghdr.msg_iovlen is declared as c_int
cloud-hypervisor/cloud-hypervisor#4642 (comment) describes the error I encountered due to this inconsistency.
Is this expected? If not, could you please fix it?
While using socket API in cloud-hypervisor project, I noticed an inconsistency with
msghdrstruct betweengnuandmusltargets.In gnu
msghdr.msg_iovlenis declared assize_tlibc/src/unix/linux_like/linux/gnu/mod.rs
Line 95 in 0488a83
In musl
msghdr.msg_iovlenis declared asc_intlibc/src/unix/linux_like/linux/musl/b64/mod.rs
Line 98 in 0488a83
cloud-hypervisor/cloud-hypervisor#4642 (comment) describes the error I encountered due to this inconsistency.
Is this expected? If not, could you please fix it?