facebook / wangle

Wangle is a framework providing a set of common client/server abstractions for building services in a consistent, modular, and composable way.
Apache License 2.0
3.04k stars 535 forks source link

Add rust_cxx_bridge CMake function #222

Open jdelliot opened 7 months ago

jdelliot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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

facebook-github-bot commented 7 months ago

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