rust-shed
rust-shed copied to clipboard
Add rust_cxx_bridge CMake function
Summary: X-link: https://github.com/facebook/proxygen/pull/473
X-link: https://github.com/facebook/hhvm/pull/9411
X-link: https://github.com/facebook/fbthrift/pull/587
X-link: https://github.com/facebookincubator/velox/pull/7518
We need a better way to create cxxbridges - something that uses the recommended method of cxxbridge-cmd.
This function creates C++ bindings using the [cxx] crate.
Original function found here: https://github.com/corrosion-rs/corrosion/blob/master/cmake/Corrosion.cmake#L1390
Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627
This pull request was exported from Phabricator. Differential Revision: D51160627