comment out write logic in linux fd_pread until design discussion

This commit is contained in:
Mark McCaskey 2019-03-29 17:02:58 -07:00
parent e7a5c01ef8
commit e156ea2509

View File

@ -24,13 +24,13 @@ pub fn platform_fd_pread(
)
};
nread.set(result as u32);
for (i, arr_cell) in iovs.iter().enumerate() {
/*for (i, arr_cell) in iovs.iter().enumerate() {
let wasi_iovec = __wasi_iovec_t {
buf: iovec[i] as _,
buf_len: iovec[i].iov_len as u32,
};
arr_cell.set(wasi_iovec);
}
}*/
__WASI_ESUCCESS
}