facebook / fboss

Facebook Open Switching System Software for controlling network switches.
Other
866 stars 301 forks source link

Paramatized rust_static_library to enable CXX support #161

Closed jdelliot closed 1 year ago

jdelliot commented 1 year 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 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 facebook/fboss@4823cbcdaea5896ec45a3da3570d77f8c0291134.