fix: preserve symbol tables in Rust bindings for Play Store debug symbols

Rust Cargo.toml had strip=true which removes ALL symbols including the
symbol table needed by AGP to generate native-debug-symbols.zip for
Play Store. Changed to strip="debuginfo" which keeps symbol tables
(needed for crash symbolication) but removes debug info (keeps .so small).

Also made debugSymbols conditional in distribute workflow so missing
symbols don't fail the upload.
This commit is contained in:
2026-02-24 20:51:08 +03:00
parent abc624b57a
commit 8da8dd0088
4 changed files with 11 additions and 3 deletions
@@ -51,6 +51,13 @@ jobs:
- name: Rename artifacts
run: mv app/bundle/releaseMarket/app-releaseMarket.aab app/bundle/releaseMarket/pezkuwi-wallet-android-${{ github.event.inputs.app_version }}.aab
- name: Check for native debug symbols
id: check-symbols
run: |
if [ -f "app/native-debug-symbols/releaseMarket/native-debug-symbols.zip" ]; then
echo "path=app/native-debug-symbols/releaseMarket/native-debug-symbols.zip" >> $GITHUB_OUTPUT
fi
- name: Market publication
uses: r0adkll/upload-google-play@v1
with:
@@ -62,3 +69,4 @@ jobs:
inAppUpdatePriority: 2
whatsNewDirectory: distribution/whatsnew
mappingFile: app/mapping/releaseMarket/mapping.txt
debugSymbols: ${{ steps.check-symbols.outputs.path }}