forked from facebook/sapling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Paramatized rust_static_library to enable CXX support (facebook#763)
Summary: X-link: facebookincubator/zstrong#610 X-link: facebookincubator/crux#10 X-link: facebookexternal/traffixr#3 X-link: facebookincubator/katran#205 X-link: facebookincubator/fizz#101 X-link: facebookexperimental/rust-shed#43 X-link: facebook/wangle#221 X-link: facebook/openr#150 X-link: facebook/hhvm#9403 X-link: facebook/folly#2092 X-link: facebook/fb303#42 X-link: facebookincubator/velox#7301 We are now using CXX (and not just bindgen/cbindgen) for building our Rust C/C++ APIS, but our OSS tooling did not ergomically support this. This change adds a single option, `USE_CXX_INCLUDE`, to the CMake function, `rust_static_library`, to enable adding the `cxxbridge` path to the include path. Differential Revision: D50772544
- Loading branch information
1 parent
295e3b0
commit 8151682
Showing
2 changed files
with
13 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters