Page MenuHomePhabricator

[native] Avoid hardcoding path to rust_native_library lib.rs.h file
ClosedPublic

Authored by ashoat on Nov 10 2022, 12:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 15, 9:31 PM
Unknown Object (File)
Tue, Mar 4, 11:45 PM
Unknown Object (File)
Tue, Mar 4, 11:45 PM
Unknown Object (File)
Tue, Mar 4, 11:45 PM
Unknown Object (File)
Tue, Mar 4, 11:45 PM
Unknown Object (File)
Tue, Mar 4, 11:40 PM
Unknown Object (File)
Feb 25 2025, 1:21 AM
Unknown Object (File)
Feb 16 2025, 9:44 PM

Details

Summary

In D5480 we hardcoded a path to this that ended up changing in a later version of React Native. This diff updates the code so the path is passed directly from corrosion-cxx.cmake to where it's consumed.

Test Plan

I tested an Android debug build on both current master and my React Native upgrade branch and it worked

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable