fix(android): rustup commands

This commit is contained in:
Erica Marigold 2023-09-01 13:52:32 +05:30 committed by GitHub
parent 8ef67297fa
commit 427609a501
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,8 @@ export PATH="$PATH:$ANDROID_NDK/toolchains/llvm/prebuilt/linux-x86_64/bin/"
cp ../package/android/.cargo/config $HOME/.cargo/config
rustup toolchain install aarch64-linux-android
rustup toolchain install stable-x86_64-unknown-linux-gnu
rustup target add aarch64-linux-android
mv $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android21-clang $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-clang
mv $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/llvm-ar $ANDROID_NDK_HOME/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-ar