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
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
Unknown Object (File)
Oct 6 2024, 5:34 AM
Unknown Object (File)
Sep 19 2024, 6:21 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable