cargo build --target aarch64-linux-android --release
error[E0308]: mismatched types
--> /Users/javanew/.cargo/registry/src/index.crates.io-6f17d22bba15001f/libuv-2.9.0/src/requests/fs.rs:112:46
|
112 | ...fe { CStr::from_ptr(ptr).to_string_lossy().into_owned() })
| -------------- ^^^ expected *const u8, found *const i8
| |
| arguments to this function are incorrect
|
= note: expected raw pointer *const u8
found raw pointer *const i8
note: associated function defined here
--> /Users/javanew/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ffi/c_str.rs:274:25
|
274 | pub const unsafe fn from_ptr<'a>(ptr: *const c_char) -> &'a CStr {
| ^^^^^^^^