ifels opened Issue #2099:
when I compile wasmtime for android using:
cargo build --target aarch64-linux-android --release
The output is:
error[E0432]: unresolved import `crate::dir::SeekLoc` --> crates/wasi-common/yanix/src/sys/mod.rs:1:5 | 1 | use crate::dir::SeekLoc; | ^^^^^^^^^^^^^^^^^^^ no `SeekLoc` in `dir` error[E0432]: unresolved import `crate::dir::SeekLoc` --> crates/wasi-common/yanix/src/sys/linux/dir.rs:1:40 | 1 | use crate::dir::{Dir, Entry, EntryExt, SeekLoc}; | ^^^^^^^ no `SeekLoc` in `dir` error[E0425]: cannot find function `futimes` in crate `libc` --> crates/wasi-common/yanix/src/sys/linux/utimesat.rs:30:38 | 30 | from_success_code(unsafe { libc::futimes(f.as_raw_fd(), times.as_ptr()) }) | ^^^^^^^ help: a function with a similar name exists: `futimens` | ::: /Users/niexinxin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.72/src/unix/linux_like/mod.rs:1319:5 | 1319 | pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int; | ------------------------------------------------------------------ similarly named function `futimens` defined here
repi commented on Issue #2099:
Ran into the same problem with
yanix
when we started includingwasmtime-wasi
crate in our Android builds. wasmtime otherwise builds and runs fine on Android, but not WASI due to this
repi edited a comment on Issue #2099:
Ran into the same problem with
yanix
when we started includingwasmtime-wasi
crate in our Android builds. wasmtime otherwise builds and runs fine on Android, but not WASI due to this and other parts of thewasmtime-wasi
implementation.Is there any other issues about WASI support for Android?
sunfishcode closed Issue #2099:
when I compile wasmtime for android using:
cargo build --target aarch64-linux-android --release
The output is:
error[E0432]: unresolved import `crate::dir::SeekLoc` --> crates/wasi-common/yanix/src/sys/mod.rs:1:5 | 1 | use crate::dir::SeekLoc; | ^^^^^^^^^^^^^^^^^^^ no `SeekLoc` in `dir` error[E0432]: unresolved import `crate::dir::SeekLoc` --> crates/wasi-common/yanix/src/sys/linux/dir.rs:1:40 | 1 | use crate::dir::{Dir, Entry, EntryExt, SeekLoc}; | ^^^^^^^ no `SeekLoc` in `dir` error[E0425]: cannot find function `futimes` in crate `libc` --> crates/wasi-common/yanix/src/sys/linux/utimesat.rs:30:38 | 30 | from_success_code(unsafe { libc::futimes(f.as_raw_fd(), times.as_ptr()) }) | ^^^^^^^ help: a function with a similar name exists: `futimens` | ::: /Users/niexinxin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.72/src/unix/linux_like/mod.rs:1319:5 | 1319 | pub fn futimens(fd: ::c_int, times: *const ::timespec) -> ::c_int; | ------------------------------------------------------------------ similarly named function `futimens` defined here
Last updated: Nov 22 2024 at 17:03 UTC