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-project.json generation does not index rust-dependencies #19480

Open
robbie-vanderzee opened this issue Mar 30, 2025 · 0 comments
Open

rust-project.json generation does not index rust-dependencies #19480

robbie-vanderzee opened this issue Mar 30, 2025 · 0 comments
Labels
C-bug Category: bug

Comments

@robbie-vanderzee
Copy link

robbie-vanderzee commented Mar 30, 2025

Rules Rust Issue
Settings.json - Visual Studio Code

Source

Platform Details

Component Version Latest
OS Windows 11
Bazel Version 8.1.1
Rules Rust 0.59.2

Other versions are latest stable and tied to project setup.

Issue

Since around October of last year (did not bisect issue yet precisely, uncertain if it is a windows, rules_rust, or rust-analyzer issue), the rust-analyzer plugin and the rust-project.json file generated by Bazel have stopped correctly identifying and indexing dependencies for the Rust project in our repository. Inspecting the file system and cargo information manually for issues was not clear for me.

rust-project.json

Reproduce

  1. Plugin load for rust-analyzer language service with generated rust-project json with bazel run config=analysis
  2. Observe, Rust Dependencies not indexing any crates included in spec or local sources files in Molten submodule.
@robbie-vanderzee robbie-vanderzee added the C-bug Category: bug label Mar 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: bug
Projects
None yet
Development

No branches or pull requests

1 participant