about summary refs log tree commit diff
path: root/src/test/debuginfo/tuple-struct.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2020-05-22 11:32:21 +0200
committerGitHub <noreply@github.com>2020-05-22 11:32:21 +0200
commita8018e224efa8aef9e6a8c9b8a74dc67c225d51d (patch)
treeb5517d21045ed2af3c42e6f0cdc2c5f825cad492 /src/test/debuginfo/tuple-struct.rs
parent2059112eb40619d39f89102f832c4450d6b8ffc5 (diff)
parenta05acbf36f5a1f49919253281fc9bf9465606070 (diff)
downloadrust-a8018e224efa8aef9e6a8c9b8a74dc67c225d51d.tar.gz
rust-a8018e224efa8aef9e6a8c9b8a74dc67c225d51d.zip
Rollup merge of #72161 - nbdd0121:master, r=cuviper
Replace fcntl-based file lock with flock

WSL1 does not support `fcntl`-based lock and will always report success,
therefore creating a race condition when multiple rustc processes are
modifying shared data such as `search-index.js`. WSL1 does however
support `flock`.

`flock` is supported by all unix-like platforms. The only caveat is that
Linux 2.6.11 or earlier does not support `flock` on NFS mounts, but as
the minimum supported Linux version is 2.6.18, it is not an issue.

Fixes #72157
Diffstat (limited to 'src/test/debuginfo/tuple-struct.rs')
0 files changed, 0 insertions, 0 deletions