Closed Atry closed 2 years ago
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@Atry has updated the pull request. You must reimport the pull request before landing.
@Atry has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
I encountered an error about
'cstdio' file not found
when trying to build HHVM with CMake and Clang. See https://github.com/facebook/hhvm/actions/runs/3041342472/jobs/4898360446 It seems thatbuild.rs
tries to compilegen-rust.cpp
as a C source file. This PR added.cpp(true)
option so thatgen-rust.cpp
can be built as a C++ source file. Test Plan: Rebase #9129 onto this PR and the error'cstdio' file not found
should be gone.