facebook / hhvm

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

Add rust_cxx_bridge CMake function #9411

Closed jdelliot closed 1 year ago

jdelliot commented 1 year 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 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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

facebook-github-bot commented 1 year ago

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