willcrichton/flowistry

Not working with mixed language projects

Opened this issue · 0 comments

I have a mixed language project (we are starting to move pieces from C++), where I set the following rust-analyzer config:

    "rust-analyzer.linkedProjects": [
        "services/web/backend/Cargo.toml"
    ]

Flowistry doesn't use this, and doesn't seem to have anything equivalent. This results in the following when I try to use it:

Flowistry could not run because your project failed to build with error:
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rustc_plugin-0.7.3-nightly-2023-08-25/src/cli.rs:28:6:
called `Result::unwrap()` on an `Err` value: CargoMetadata { stderr: "error: could not find `Cargo.toml` in `/home/user/workspace/project` or any parent directory\n" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace