Rust Analzyer VS Code 'There is no task provider registered for tasks of type "cargo"' in .code-workspace

About 3 months ago I filed an issue finding that Cargo tasks configured in .code-workspace files would fail with The cargo task detection didn't contribute a task for the following configuration but there hasn't been any response.

Has anyone encountered this? Am I doing something wrong or is this a bug?

My solution was to simply replace {"type":"cargo", "command":"build", "args": ["--release"]} with {"type":"process", "command":"cargo", "args": ["build", "--release"]}.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.