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

Rust: ast-based extractor #17502

Merged
merged 12 commits into from
Sep 19, 2024
Merged

Rust: ast-based extractor #17502

merged 12 commits into from
Sep 19, 2024

Conversation

aibaars
Copy link
Contributor

@aibaars aibaars commented Sep 18, 2024

This pull request rewrites the Rust extractor to extract the AST nodes of rust-analyzer instead the HIR nodes. The implementation is generated from the rust.ungram syntax definition.

@github-actions github-actions bot added the Rust Pull requests that update Rust code label Sep 18, 2024
Copy link

@github-advanced-security github-advanced-security bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.

@aibaars aibaars force-pushed the aibaars/rust-extract-ast branch 9 times, most recently from fce5d6b to 0ae8d33 Compare September 18, 2024 19:59
@aibaars aibaars marked this pull request as ready for review September 19, 2024 08:59
@aibaars aibaars requested a review from a team as a code owner September 19, 2024 08:59
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for follow-up: we can pull in this file with bazel instead of checking it in

@redsun82
Copy link
Contributor

The go failures are probably being handled by #17513 if I got it right

Copy link
Contributor

@redsun82 redsun82 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great stuff!

@aibaars aibaars merged commit 3c09f70 into main Sep 19, 2024
29 checks passed
@aibaars aibaars deleted the aibaars/rust-extract-ast branch September 19, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants