facebookincubator / katran

A high performance layer 4 load balancer
GNU General Public License v2.0
4.76k stars 504 forks source link

Paramatized rust_static_library to enable CXX support #205

Closed jdelliot closed 1 year ago

jdelliot commented 1 year ago

Summary: X-link: https://github.com/facebook/sapling/pull/763

X-link: https://github.com/facebookexperimental/rust-shed/pull/43

X-link: https://github.com/facebook/wangle/pull/221

X-link: https://github.com/facebook/openr/pull/150

X-link: https://github.com/facebook/hhvm/pull/9403

X-link: https://github.com/facebook/folly/pull/2092

X-link: https://github.com/facebook/fb303/pull/42

X-link: https://github.com/facebookincubator/velox/pull/7301

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 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

This pull request has been merged in facebookincubator/katran@f12ad6ddb44e9ce3450c110130c9a34557e581fa.