facebook / fbthrift

Facebook's branch of Apache Thrift, including a new C++ server.
Apache License 2.0
2.55k stars 607 forks source link

Paramatized rust_static_library to enable CXX support #584

Closed jdelliot closed 5 months ago

jdelliot commented 8 months ago

Summary: We are now using CXX (and not just bindgen/cbindgen) for building our Rust C/C++ APIS, but our OSS tooling did not ergomically support this. This change adds a single option, USE_CXX_INCLUDE, to the CMake function, rust_static_library, to enable adding the cxxbridge path to the include path.

Differential Revision: D50772544

facebook-github-bot commented 8 months ago

This pull request was exported from Phabricator. Differential Revision: D50772544

facebook-github-bot commented 8 months ago

This pull request was exported from Phabricator. Differential Revision: D50772544

facebook-github-bot commented 8 months ago

This pull request was exported from Phabricator. Differential Revision: D50772544

vitaut commented 5 months ago

Already merged.