sapling
sapling copied to clipboard
feat(oss): Support thrift-py3/thrift-rust and improve python support for c++ inclusion
Three separate improvements needed by the OSS Sapling/EdenFS build:
- Add
LANGUAGES py3support toadd_fbthrift_library()in make - Add
LANGUAGES rustsupport toadd_fbthrift_library()in cmake - Add cython support in cmake
- Add ability for python binaries to support non-python dependencies (needed by cython)
- Switch rust to the nightly build to support
#[deprecated]
Tested through building Sapling/EdenFS (requires other fixes to run clean):
act --container-architecture linux/x86_64 -W .github/workflows/edenfs_linux.yml
@facebook-github-bot has imported this pull request. If you are a Meta employee, you can view this in D83008904. (Because this pull request was imported automatically, there will not be any future comments.)