Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cargo always starts with " Blocking waiting for file lock on build directory"

I recently installed rustup on my Windows machine and incorporated it into Atom as my editor. Everything works fine, but as soon as I do a cargo run on my project, the first thing that Cargo says is:

 Blocking waiting for file lock on build directory

This blocks the whole process for about a minute before the actual compile and run starts. As far as I remember this did not happen before (I use Cargo under OS X but without rustup).

Is there any way to disable this or at least reduce the timeout?

like image 226
Norbert Avatar asked Sep 05 '16 18:09

Norbert


1 Answers

The tokamak Atom plugin runs cargo commands. Since you cannot run cargo twice at the same time, you get this notice.

I don't think there is something you can do, unless waiting for the compiler to speed up.

Perhaps playing with the options like save_buffers_before_run in tokamak.toml could make a difference.

like image 130
antoyo Avatar answered Oct 10 '22 08:10

antoyo