Skip to content
This repository has been archived by the owner on Dec 29, 2022. It is now read-only.

RLS keeps exclusive file lock on custom-derive plugin, preventing builds #815

Closed
Diggsey opened this issue Apr 6, 2018 · 2 comments
Closed

Comments

@Diggsey
Copy link

Diggsey commented Apr 6, 2018

The description is somewhat of a guess, and I'm not sure how to reproduce it reliably.

I checked out the gl_generators crate and opened it in VSCode, causing RLS to start compiling it. I then ran cargo build in a console in the same directory. The build failed because link.exe was unable to open target\debug\deps\serde_derive-aa8d0da7f64aa69e.dll.

Despite the RLS having finished (showed as doing nothing in VSCode) when I tried to manually delete the file in explorer it said it could not delete the file because it was in use by the RLS. This was the reason why the build was unable to complete.

@Xanewok
Copy link
Member

Xanewok commented Apr 6, 2018

@Diggsey this was hopefully fixed in today's (or yesterday's?) nightlies. Could you please try updating with rustup to newest nightly/RLS and see if the problem persists?

@nrc
Copy link
Member

nrc commented Apr 8, 2018

CLosing because it should be fixed, but comment if not and I'll reopen.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants