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): improve logic for finding the save analysis file #5354

Merged
merged 5 commits into from
Aug 16, 2022

Conversation

wcalandro
Copy link
Contributor

This PR uses the output file name of a target for the name of the save analysis file rather than using the crate name from the compiler context. This makes the path of the save analysis file deterministic and future-proofs the extractor against potential changes to crate naming for targets that break the path determination, which has happened in the past. The PR also introduces an indexer test for inline test code which have previously been affected by issues related to save analysis file naming.

@wcalandro wcalandro requested a review from shahms August 15, 2022 22:14
@wcalandro wcalandro merged commit c3bae69 into kythe:master Aug 16, 2022
@wcalandro wcalandro deleted the save-analysis-file-name branch August 16, 2022 18:13
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