mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 22:25:40 +00:00
comment out write logic in linux fd_pread until design discussion
This commit is contained in:
parent
e7a5c01ef8
commit
e156ea2509
@ -24,13 +24,13 @@ pub fn platform_fd_pread(
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
nread.set(result as u32);
|
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 {
|
let wasi_iovec = __wasi_iovec_t {
|
||||||
buf: iovec[i] as _,
|
buf: iovec[i] as _,
|
||||||
buf_len: iovec[i].iov_len as u32,
|
buf_len: iovec[i].iov_len as u32,
|
||||||
};
|
};
|
||||||
arr_cell.set(wasi_iovec);
|
arr_cell.set(wasi_iovec);
|
||||||
}
|
}*/
|
||||||
|
|
||||||
__WASI_ESUCCESS
|
__WASI_ESUCCESS
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user