Page MenuHomePhabricator

[native] make output a static library
ClosedPublic

Authored by varun on Aug 23 2022, 10:43 PM.
Tags
None
Referenced Files
F2166570: D4935.id15900.diff
Tue, Jul 2, 4:34 AM
Unknown Object (File)
Thu, Jun 27, 1:14 AM
Unknown Object (File)
Thu, Jun 27, 12:41 AM
Unknown Object (File)
Tue, Jun 18, 9:38 AM
Unknown Object (File)
Tue, Jun 18, 9:38 AM
Unknown Object (File)
Tue, Jun 18, 9:31 AM
Unknown Object (File)
Fri, Jun 14, 10:33 PM
Unknown Object (File)
May 14 2024, 10:24 AM
Subscribers

Details

Summary

this will make cargo produce a .a file that can be linked in Cmake/Xcode

Test Plan

cargo build, checked target directory for .a file

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tomek added inline comments.
native/cpp/CommonCpp/grpc/grpc_client/Cargo.toml
26 ↗(On Diff #15900)

Are there any downsides of doing so?

27 ↗(On Diff #15900)

Can we keep a new line?

This revision is now accepted and ready to land.Aug 24 2022, 2:58 AM
native/cpp/CommonCpp/grpc/grpc_client/Cargo.toml
26 ↗(On Diff #15900)

no downsides. the rust lib format doesn't really make sense for us rn. we can add it back if we ever need it.

27 ↗(On Diff #15900)

oh oops yeah

This revision was automatically updated to reflect the committed changes.