-
Notifications
You must be signed in to change notification settings - Fork 22
linter-rust + Cargo = Error #15
Comments
I also get these random concurrency issue. steps
I suspect tat linter-rust runs cargo once per file save, limited by the number of jobs specified in the settings of linter-rust (default: 2). This gives 3 cargo-runs in parallel. Not good since:
|
I have written a tiny wrapper script for cargo on linux that waits for all previous processes to finish - to avoid the concurrency issues. :-) This should do the job - until cargo implements its own locking-mechanism. Of course it's a workaround - and nothing to be included in linter-rust - but anyone with that issue could use it in the meantime. |
An interesting idea but not cross-platform... I think that PR712 will help solve this problem. |
You are right, the wrapper is not cross-platform. Still I think it's good to have different approaches until this is fixed in upstream cargo. :-) |
@colin-kiegel Your 4. solution above would be relatively simple to implement using the tempFile method from https://github.com/AtomLinter/atom-linter 😉. |
This hasn't happened to me in a while, I think it has been fixed in Cargo? If it has this issue can be closed :) |
This plug-in produces an error when using Cargo to compile.
See this issue I made in the Cargo repo: rust-lang/cargo#1669
The text was updated successfully, but these errors were encountered: