Skip to content

Commit

Permalink
comment out write logic in linux fd_pread until design discussion
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark McCaskey committed Mar 30, 2019
1 parent e7a5c01 commit e156ea2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/wasi/src/syscalls/unix/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit e156ea2

Please sign in to comment.