facebook / hhvm

A virtual machine for executing programs written in Hack.
https://hhvm.com
Other
18.06k stars 2.99k forks source link

Add rust_cxx_bridge CMake function #9411

Closed jdelliot closed 7 months ago

jdelliot commented 7 months ago

Summary: 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

facebook-github-bot commented 7 months ago

This pull request has been merged in facebook/hhvm@fdedf68a767dbb5bf8aa1fcb4bdb9e1c33bd8d30.