New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TARGET_GRAPH_CALCULATION_IMPL not set (internal error) #257
Comments
Please confirm you are on macOS and build with cargo. It broke a few days ago. The problem is described here mmastrac/rust-ctor#220 now looking for a fix. Revert may fix this issue but there are multiple places which can trigger this problem. Now looking for proper fix. |
Temporary workaround is to build in debug more switching opt-level to 0. |
Yeah I am on MacOS + arm64 and built buck2 binary using Cargo. |
Yes. Published binaries are built with Cargo. buck2/.github/workflows/upload_buck2.yml Line 100 in aebff47
(these builds are not affected by this problem, likely different version of linker or something) |
I think the current "latest" release model is hard for us to track when/how to upgrade the binary, thus I rely on building the buck2 binary using the prelude git submodule commit instead. I would much prefer the release model watchman is using, which could then be packaged by Homebrew. |
Fixed in 7947156. |
I got this from using Buck2 from main branch today
Reverting 9bc4bbc and then f104c0a fixed it.
The text was updated successfully, but these errors were encountered: