Page MenuHomePhabricator

[rust_native_library] Use generic archiver for newer NDK versions
ClosedPublic

Authored by ashoat on Nov 9 2022, 6:11 PM.
Tags
None
Referenced Files
F3525301: D5590.id18297.diff
Mon, Dec 23, 4:17 PM
F3523735: D5590.diff
Mon, Dec 23, 10:06 AM
Unknown Object (File)
Nov 2 2024, 10:15 PM
Unknown Object (File)
Nov 2 2024, 10:15 PM
Unknown Object (File)
Nov 2 2024, 10:15 PM
Unknown Object (File)
Nov 2 2024, 10:12 PM
Unknown Object (File)
Oct 6 2024, 1:41 PM
Unknown Object (File)
Oct 6 2024, 7:23 AM
Subscribers

Details

Summary

See here. Newer NDK versions don't ship with per-architecture archivers. People online suggest just using the generic llvm-ar, and it seemed to work in this case.

Test Plan

After applying a hack for the "Second issue" described in the above-linked Linear task, I was able to get past the rust_native_library step in the React Native Android build while using NDK versions 24.0.8215888

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/rust_native_library
Lint
No Lint Coverage
Unit
No Test Coverage