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

Generate rust-project.json for rust-analyzer #10678

Closed
dcbaker opened this issue Aug 11, 2022 · 0 comments · Fixed by #10682
Closed

Generate rust-project.json for rust-analyzer #10678

dcbaker opened this issue Aug 11, 2022 · 0 comments · Fixed by #10682

Comments

@dcbaker
Copy link
Member

dcbaker commented Aug 11, 2022

Rust-analyzer is the official, upstream, ide frontend for Rust. It generally assumes that you're using cargo, but provides a mechanism for other builds systems in the form of a rust-project.json, which rust-analyzer understands, much like many C/C++ linters understand compile_commands.json.

It uses a rust-analyzer specific format, but one that meson has all of the information necessary to generate at configure time, and given it's popularity is probably worth doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant