Use the WASI layout for fd_set.

This commit is contained in:
Dan Gohman 2019-04-24 05:40:34 -07:00
parent edd541e67f
commit 4d0e84b8be

View File

@ -138,7 +138,8 @@ s! {
}
pub struct fd_set {
fds_bits: [c_ulong; FD_SETSIZE / ULONG_SIZE],
pub __nfds: size_t,
pub __fds: [c_int; FD_SETSIZE],
}
pub struct lconv {