From: bors Date: Tue, 22 May 2018 14:08:52 +0000 (+0000) Subject: Auto merge of #5557 - ehuss:linux-cbfct, r=alexcrichton X-Git-Tag: archive/raspbian/0.35.0-2+rpi1~3^2^2^2^2^2^2^2~22^2^2~28 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=099a622298cf14fd6492c7f46208b673a4b4d53b;p=cargo.git Auto merge of #5557 - ehuss:linux-cbfct, r=alexcrichton 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. --- 099a622298cf14fd6492c7f46208b673a4b4d53b