Skip to content

Commit

Permalink
Add cbindgen to android build container
Browse files Browse the repository at this point in the history
  • Loading branch information
albin-mullvad committed Sep 18, 2024
1 parent eea642f commit 76b6103
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions android/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,11 @@ RUN patch -p1 -f -N -r- -d /usr/local/go < /tmp/goruntime-boottime-over-monotoni
# Add rust targets
RUN rustup target add x86_64-linux-android i686-linux-android aarch64-linux-android armv7-linux-androideabi

# Install cbindgen to address maybenot.h (checked in) sometimes needing to be
# re-generated due to how `make` looks at last-modifications while git neither
# stores nor consistently sets modification metadata on file checkout.
# This is an intermediate solution that will be further improved as part of
# issue: DROID-1328.
RUN cargo install --force cbindgen --version "0.26.0"

WORKDIR /build

0 comments on commit 76b6103

Please sign in to comment.