Skip to content

No problems are shown for non-Cargo projects #15963

Open
@dwlsalmeida

Description

@dwlsalmeida

Hi there,

No problems are shown when using RA for non-Cargo projects in VScode. My linkedProjects points to a valid rust-project.json file, and other features are working (hints, code completion, etc).

I tried debugging RA and apparently CargoActor::run expects the command to output some kind of JSON as per the documentation. The problem is that my project is being built by Meson/Ninja, and thus, whatever JSON is expected is simply not produced by these tools.

Is this expected behavior? I was under the impression that the whole point of rust-project.json was to cater to non-Cargo projects and that RA would manage to invoke rustc and then parse whatever compilation errors on its own.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-rust-projectrust-project.json related issuesC-supportCategory: support questions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions