Problems with RLS #630
TuurDutoit
started this conversation in
General
Replies: 2 comments
-
Thank you for sharing your solution! Another way that should also work is to set the |
Beta Was this translation helpful? Give feedback.
0 replies
-
I hope that rust-lang/rfcs#2663 makes progess soon, so that the whole |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My project is building fine with
cargo xbuild
as per the instructions. The Rust extension for VSCode - which uses the Rust Language Server - is having a hard time compiling it however, but I managed to fix that so I wanted to document how I did that, in case it can help anyone else.The initial issue, about the
panic_impl
being defined twice, was fixed with these instructions I found. With that fixed, another issue popped up about thecore
crate not being found. This is because the RLS is not usingxbuild
. However, a workaround is possible becausexbuild
places the compilation output in thetarget
directory, where a normal Cargo build can find it. I added this comment to the issue above detailing how to go about it.Beta Was this translation helpful? Give feedback.
All reactions