File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,6 +63,7 @@ ENV CXXFLAGS_aarch64_linux_android="-D__ANDROID_API__=${ANDROID_API_LEVEL} -D_DE
6363# Verify the Rust standard library is available for the target
6464RUN find /root/.rustup -name "libcore-*.rlib" | head -5
6565RUN find /root/.rustup -name "*aarch64*" | head -10
66+ RUN chmod -R 755 ${ANDROID_SDK_ROOT} ${ANDROID_NDK_HOME} /root/.cargo /root/.rustup
6667
6768RUN git clone https://github.com/tursodatabase/libsql.git /libsql
6869RUN cd /libsql && git checkout libsql-server-v0.24.32
@@ -73,6 +74,8 @@ WORKDIR /libsql
7374RUN rustc --target aarch64-linux-android --print sysroot
7475RUN rustc --target aarch64-linux-android --print target-libdir
7576
77+ RUN find /root/.rustup/toolchains/1.81.0-x86_64-unknown-linux-gnu/lib/rustlib/aarch64-linux-android/lib -name "libcore-*.rlib"
78+
7679# Build with explicit sysroot and linker flags
7780RUN cargo build --release --target aarch64-linux-android
7881
You can’t perform that action at this time.
0 commit comments