This PR fixes two race conditions in libtock-rs' Makefile:
Running e.g. make -j2 hail flash-hail EXAMPLE=console will cause concurrent cargo run invocations that race (another variant of #366). This was fixed by changing the target directories for the flash-* targets.
Running make -j2 test with a missing toolchain can result in parallel toolchain installs, which corrupts the toolchain.
I also fixed make clean, which wasn't cleaning up the nightly toolchain's target directory.
This PR fixes two race conditions in
libtock-rs
' Makefile:make -j2 hail flash-hail EXAMPLE=console
will cause concurrentcargo run
invocations that race (another variant of #366). This was fixed by changing the target directories for theflash-*
targets.make -j2 test
with a missing toolchain can result in parallel toolchain installs, which corrupts the toolchain.I also fixed
make clean
, which wasn't cleaning up the nightly toolchain's target directory.