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
Genquery: cycle in dependency graph #2522
Comments
I believe the issue is caused by https://github.com/bazelbuild/rules_rust/blob/0.39.0/rust/private/rust.bzl#L531-L534 |
Could you the fix simply be removing |
I opened #2559 since it doesn't seem like there's a simple fix here. The import stuff likely needs it's own bootstrapping rule. Since that code is dead in the repo though, I think it's fair to remove this integration. Though I'd be happy to review a better fix. As long as the new integration test I added passes I'd be a happy camper. |
@gregce @katre it seems like the issue here is |
It seems using
genquery
on any Rust targets leads to failures due to a cycle in the dependency graph. The diff below can be used to repro the issue and get the output that follows.The text was updated successfully, but these errors were encountered: