Closed
Description
VSCode tasks are broken again after latest update. Likely related: #16950
rust-analyzer version: v0.3.2002
rustc version: rustc 1.78.0 (9b00956e5 2024-04-29)
editor or extension: VSCode
relevant settings:
// .vscode/tasks.json
{
"version": "2.0.0",
"tasks": [
{
"type": "cargo",
"command": "run",
"args": ["--bin", "example_minimal"],
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo run"
}
]
}
Error:
Error: The cargo task detection didn't contribute a task for the following configuration:
{
"type": "cargo",
"command": "run",
"problemMatcher": [
"$rustc"
],
"group": "build",
"label": "rust: cargo run"
}
The task will be ignored.
STDOUT:
* Executing task: run --bin example_minimal
* The terminal process failed to launch: Path to shell executable "run" does not exist.