Skip to content

VSCode tasks not generating #16943

Closed
@ilmai

Description

@ilmai

Since the update earlier today, none of the cargo tasks in my VSCode tasks.json files are being recognized. Tasks log in VSCode is full of errors like this:

Error: The cargo task detection didn't contribute a task for the following configuration:
{
    "label": "rust: cargo build debug",
    "type": "cargo",
    "command": "build",
    "problemMatcher": [
        "$rustc"
    ],
    "group": "build"
}
The task will be ignored.

The same thing happens on two different computers in all of the projects I tested. The issue is resolved by downgrading to the previous version (0.3.1885).

rust-analyzer version: 0.3.1896

rustc version: 1.77.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-vscodevscode plugin issuesC-bugCategory: bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions