Skip to content

Commit

Permalink
Install cbindgen in android build script
Browse files Browse the repository at this point in the history
Temporary fix 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.
  • Loading branch information
albin-mullvad committed Sep 6, 2024
1 parent 360b742 commit c7cd012
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build-apk.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@ mkdir -p "app/build/extraAssets"
mkdir -p "app/build/extraJni"
popd

# Temporary fix 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.
cargo install --force cbindgen

for ARCHITECTURE in ${ARCHITECTURES:-aarch64 armv7 x86_64 i686}; do
case "$ARCHITECTURE" in
"x86_64")
Expand Down

0 comments on commit c7cd012

Please sign in to comment.