From b21466a3080939fe2fd12e6426a9085db34a7f43 Mon Sep 17 00:00:00 2001 From: Albin Date: Thu, 5 Sep 2024 23:58:31 +0200 Subject: [PATCH] Install cbindgen in android build script 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. --- build-apk.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build-apk.sh b/build-apk.sh index e45d4014c9d4..d8653b3cc0a1 100755 --- a/build-apk.sh +++ b/build-apk.sh @@ -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")