bazelbuild / bazelbuild/rules_rust
Does rust-analyzer support cargo check?
- Dominant language
- Starlark
- Stars
- 843
- Forks
- 651
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 15
Description
I found that rust-analyzer based on Bazel does not show cargo check result on VSCode, e.g. when setting up rust analyzer for this [example](https://github.com/bazelbuild/rules_rust/tree/main/examples).
I'd like to ask whether this should be a problem because of my environment, or current rules_rust does not support cargo check.
For my understanding, rust-analyzer rules generates `rust-project.json` to just capture dependences of third parties or project structures.
So we should add another [VSCode task](https://github.com/rust-lang/rust-analyzer/blob/master/docs/user/manual.adoc#compiler-feedback-from-external-commands) to run cargo check with Bazel to show the result of cagro check.
Contributor guide
Assessment
This issue has not been assessed yet.