facebook / watchman

Watches files and records, or triggers actions, when they change.
https://facebook.github.io/watchman/
MIT License
12.64k stars 992 forks source link

Add rust_cxx_bridge CMake function #1173

Closed jdelliot closed 10 months ago

jdelliot commented 10 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 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

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

facebook-github-bot commented 10 months ago

This pull request has been merged in facebook/watchman@b1fa0d11983e072ce898e5d932281beda0976c32.