You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm cross compiling from x86_64-linux to armv7-linux-androideabi and aarch64-linux-android. If I don't cross compile, it works fine, but when I cross compile, I get these errors for aarch64-linux-android :
error[E0425]: cannot find function `get_fault_info` in this scope
--> /home/mnur/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/wasmer-runtime-core-0.11.0/src/fault.rs:289:21
|
289 | let fault = get_fault_info(siginfo as _, ucontext);
| ^^^^^^^^^^^^^^ not found in this scope
error: aborting due to previous error
And these for armv7-linux-androideabi:
error[E0425]: cannot find function `get_fault_info` in this scope
--> /home/mnur/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/wasmer-runtime-core-0.11.0/src/fault.rs:289:21
|
289 | let fault = get_fault_info(siginfo as _, ucontext);
| ^^^^^^^^^^^^^^ not found in this scope
error[E0425]: cannot find value `ARCH` in this scope
--> /home/mnur/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/wasmer-runtime-core-0.11.0/src/fault.rs:294:82
|
294 | let magic_size = if let Some(x) = get_inline_breakpoint_size(ARCH, v.backend) {
| ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
30 | use std::env::consts::ARCH;
|
error[E0425]: cannot find value `ARCH` in this scope
--> /home/mnur/.cargo/registry/src/jackfan.us.kg-1ecc6299db9ec823/wasmer-runtime-core-0.11.0/src/fault.rs:303:29
|
303 | ARCH,
| ^^^^ not found in this scope
help: possible candidate is found in another module, you can import it into scope
|
30 | use std::env::consts::ARCH;
|
error: aborting due to 3 previous errors
and ran CC_aarch64_linux_android=$NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang cargo build --target aarch64-linux-android --release, similarly for arm7-android-abi
The text was updated successfully, but these errors were encountered:
I'm cross compiling from x86_64-linux to armv7-linux-androideabi and aarch64-linux-android. If I don't cross compile, it works fine, but when I cross compile, I get these errors for aarch64-linux-android :
And these for armv7-linux-androideabi:
Steps to reproduce
Created directory by defaults with cargo and added this to Cargo.toml
and ran
CC_aarch64_linux_android=$NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android28-clang cargo build --target aarch64-linux-android --release
, similarly for arm7-android-abiThe text was updated successfully, but these errors were encountered: