]> git.proxmox.com Git - cargo.git/commitdiff
Auto merge of #5557 - ehuss:linux-cbfct, r=alexcrichton
authorbors <bors@rust-lang.org>
Tue, 22 May 2018 14:08:52 +0000 (14:08 +0000)
committerbors <bors@rust-lang.org>
Tue, 22 May 2018 14:08:52 +0000 (14:08 +0000)
Fix test failure in changing_bin_features_caches_targets for Linux.

Fixes rust-lang/rust#50962.

My theory is that while copying the binary, another thread forked with the fd
open.  The copy finishes and attempts to exec before the other child execs (and
closes the writeable fd).

I was able to easily repro this on linux.  I ran some stress tests of this fix
locally on linux and on appveyor, and was unable to trigger it again.


Trivial merge