-
Notifications
You must be signed in to change notification settings - Fork 10.6k
rust-analyzer not integrating with rustlings using VSCode in Windows #1525
New issue
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
Comments
Which version of the |
Machine B & C: v0.3.1524 |
Hm, that's super strange, and your |
My {
"sysroot_src": "/home/<user>/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library",
"crates": [
{
"root_module": "exercises/clippy/clippy1.rs",
"edition": "2021",
"deps": [],
"cfg": [
"test"
]
},
... I suspect it might have something to do with the |
Could you open an issue on r-a referencing this one, maybe? They might be able to figure out what's happening here, because I don't think (= hope) it's because of what's happening on our end. |
Just spotted this randomly (there was no new r-a issue opened afaik). Latest rustlings repo + latest r-a nightly works for me just fine on nightly on my windows machine. Could you post an entry of the rust-project.json from your windows machine maybe? |
I am having an issue similar to the issues described here: rust-lang/rust-analyzer#12235 and here rust-lang/rust-analyzer#4894.
So I tried this on multiple machines:
On both windows machines, rust-analyzer does not seem to be integrating nicely with the rustlings repo. For example, syntax checking is not working. However, on the mac, everything seems to be fine.
For all three machines, the project was opened in the rustlings root directory, and
rustlings lsp
was ran. However, the windows machines still did not seem to play nice.I was using the following versions:
The text was updated successfully, but these errors were encountered: