mirror of
https://github.com/fluencelabs/wasmer
synced 2024-12-13 06:15:33 +00:00
fix backward enumerate
This commit is contained in:
parent
5dcb95dd7a
commit
e7a5c01ef8
@ -24,7 +24,7 @@ pub fn platform_fd_pread(
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
nread.set(result as u32);
|
nread.set(result as u32);
|
||||||
for (arr_cell, i) 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,
|
||||||
|
Loading…
Reference in New Issue
Block a user