fix: target API 26 in ELF — pthread_atfork blocked by bionic at API 21

The .note.android.ident ELF section had API level 0x15 (21), causing
Android's bionic linker to block pthread_atfork (used by rand crate).
Fix: pass -P 26 to cargo-ndk and set linker to android26-clang.
Verified: ELF now shows 0x1a (26).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Claude
2026-04-05 06:05:44 +00:00
parent a8dd0c2f57
commit f6d51fce61

Binary file not shown.