File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Expand file tree Collapse file tree 1 file changed +0
-12
lines changed Original file line number Diff line number Diff line change 8989 if : ${{ contains(matrix.target, 'android') }}
9090 run : |
9191 sudo apt install -y gcc-multilib
92- #export CFLAGS="--sysroot=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/sysroot"
93- #export CXXFLAGS="$CFLAGS"
94-
95- #mkdir -p .cargo
96- #cat > .cargo/config.toml << EOF
97- #[target.${{ matrix.target }}]
98- #linker = "$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/bin/clang"
99- #rustflags = [
100- # "-C", "link-arg=--sysroot=$ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/sysroot",
101- # "-C", "link-arg=-I$HOME/ndk_includes",
102- #]
103- #EOF
10492
10593 ln -sf $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/${{ matrix.ndk_arch }}/{libunwind.so,libc++abi.a} $ANDROID_NDK_ROOT/toolchains/llvm/prebuilt/linux-x86_64/lib/
10694 cargo install cargo-ndk
You can’t perform that action at this time.
0 commit comments