Cargo always starts with ” Blocking waiting for file lock on build directory”

rustrust-cargo

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?

Best Answer

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.

Related Topic