We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With a rust-project.json file rust-analyzer should be able to handle cargo-wop projects. The format is documented here.
rust-project.json
The text was updated successfully, but these errors were encountered:
Get the current sysroot using rustc --print sysroot and append lib/rustlib/src/rust/library
rustc --print sysroot
lib/rustlib/src/rust/library
The .vscode/settings.json file should read:
.vscode/settings.json
{ "rust-analyzer.linkedProjects": [ { "sysroot_src": "$(rustc --print sysroot)/lib/rustlib/src/rust/library", "crates": [ { "root_module": "$file", "edition": "2018", "deps": [], }, ] } ] }
however deps are missing + normal crates are no longer detected.
Alternative use path generated manifest:
{ "rust-analyzer.linkedProjects": [ "path from $(cargo wop locate-project $file)" ] }
however, this also does not seem to work.
Sorry, something went wrong.
No branches or pull requests
With a
rust-project.json
file rust-analyzer should be able to handle cargo-wop projects. The format is documented here.The text was updated successfully, but these errors were encountered: