Skip to content

fix: verify android elf build ids#98

Open
ovitrif wants to merge 1 commit into
mainfrom
ovi/fix-ldk-android-build-ids
Open

fix: verify android elf build ids#98
ovitrif wants to merge 1 commit into
mainfrom
ovi/fix-ldk-android-build-ids

Conversation

@ovitrif

@ovitrif ovitrif commented Jul 24, 2026

Copy link
Copy Markdown
Collaborator

Fixes #95

Implements the LDK producer portion of synonymdev/bitkit-android#1105. Companion PRs: synonymdev/bitkit-core#131, synonymdev/vss-rust-client-ffi#19, pubky/paykit-rs#124, and synonymdev/bitkit-android#1106.

Description

  • links every published Android ABI with a SHA-1 GNU build ID while preserving the existing 16 KB page-size linker flags
  • requires build-ID presence before stripping, verifies strip survival, and compares each final AAR library with its unstripped symbol counterpart
  • requires full DWARF metadata in the native debug-symbol archive and makes publication depend on artifact validation
  • bumps the cross-platform package to 0.7.0-rc.58 and regenerates Android, JVM, Python, and Swift artifacts

QA Notes

  • cargo fmt --check
  • cargo clippy --all-targets --all-features (passes with existing warnings)
  • cargo test --lib --all-features — 87 passed
  • cargo test --doc --all-features — 12 passed
  • ./gradlew build
  • ./gradlew validatePublishedNativeArtifacts publishToMavenLocal
  • shellcheck scripts/uniffi_bindgen_generate_kotlin_android.sh
  • NDK llvm-readelf -n independently confirmed GNU build-ID presence and packaged-to-symbol parity for armeabi-v7a, arm64-v8a, and x86_64
  • the published 0.7.0-rc.58 AAR and native-debug-symbols classifier were consumed from the task-local Maven repository by the Bitkit Android release build

chatgpt-codex-connector[bot]

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: add Android ELF build IDs

1 participant