Closed
Description
rust-analyzer version: 0.4.1840
rustc version: 1.68.2
Since version 0.4.1840 RA can’t start:
2024-02-14T08:42:24.398537Z ERROR rust_analyzer::main_loop: FetchWorkspaceError:
rust-analyzer failed to load workspace: Failed to load the project at /home/geobert/work/project/Cargo.toml: Failed to read Cargo metadata from Cargo.toml file /home/geobert/work/project/Cargo.toml, Some(Version { major: 1, minor: 68, patch: 2 }): Failed to run `cd "/home/geobert/work/project" && "/home/geobert/.rustup/toolchains/1.68.2-x86_64-unknown-linux-gnu/bin/cargo" "metadata" "--format-version" "1" "--manifest-path" "/home/geobert/work/project/Cargo.toml" "--filter-platform" "x86_64-unknown-linux-gnu"`: `cargo metadata` exited with an error: error: could not execute process `rustc -vV` (never executed)
Caused by:
No such file or directory (os error 2)
In VSCode on WSL2
0.4.1838 works fine