Skip to content

fix: rust-analyzer should watch build files from rust-project.json #17949

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

Merged
merged 1 commit into from
Aug 24, 2024

Conversation

Wilfred
Copy link
Contributor

@Wilfred Wilfred commented Aug 23, 2024

rust-analyzer always watches Cargo.toml for changes, but other build systems using rust-project.json have their own build files.

Ensure we also watch those for changes, so we know when to reconfigure rust-analyzer when dependencies change.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 23, 2024
@Wilfred Wilfred marked this pull request as ready for review August 23, 2024 22:43
@Wilfred Wilfred force-pushed the include_build_file_in_watchers branch from d3f41b2 to fa83d3c Compare August 24, 2024 00:49
@lnicola
Copy link
Member

lnicola commented Aug 24, 2024

@bors r+

@bors
Copy link
Contributor

bors commented Aug 24, 2024

📌 Commit fa83d3c has been approved by lnicola

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Aug 24, 2024

⌛ Testing commit fa83d3c with merge 74a6427...

@bors
Copy link
Contributor

bors commented Aug 24, 2024

☀️ Test successful - checks-actions
Approved by: lnicola
Pushing 74a6427 to master...

@bors bors merged commit 74a6427 into rust-lang:master Aug 24, 2024
11 checks passed
@Wilfred Wilfred deleted the include_build_file_in_watchers branch January 17, 2025 00:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants