-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I'm having the following issue compiling for android arm64-v8a with the following line:
CC_aarch64_linux_android=/home/kcorre/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang \
AR_aarch64_linux_android=/home/kcorre/Android/Sdk/ndk/21.0.6113669/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar \
cargo build --target aarch64-linux-android
Compiling sysconf v0.3.4
error[E0081]: discriminant value `96` already exists
--> /home/kcorre/.cargo/registry/src/gitlite.zycloud.tk-1ecc6299db9ec823/sysconf-0.3.4/src/raw.rs:83:19
|
20 | macro_rules! sc { ($var:ident) => (libc::$var as isize) }
| ------------------- first use of `96`
...
83 | Sc2CVersion = 96, // TODO(joshlf): Switch to a libc constant once it's added
| ^^ enum already has `96`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0081`.
error: could not compile `sysconf`.
Line 83 in 1305139
| Sc2CVersion = 96, // TODO(joshlf): Switch to a libc constant once it's added |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels