Skip to content
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

fix(rust_extractor): find the analysis file based on crate name #5306

Merged
merged 1 commit into from Jun 10, 2022

Conversation

wcalandro
Copy link
Contributor

A recent change in rules_rust changed the crate name of rust_test targets to be the same as the target being tested. This has broken Rust extraction for these test targets as the save_analysis file name is different from what the extractor expects.

This PR fixes the issue by searching for the file based on the crate name instead of assuming the path based on the output file name.

@wcalandro wcalandro requested a review from shahms June 10, 2022 21:30
@wcalandro wcalandro merged commit 48b4edf into kythe:master Jun 10, 2022
@wcalandro wcalandro deleted the extractor-fix branch June 10, 2022 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants