]> git.proxmox.com Git - cargo.git/commit
Auto merge of #7149 - alexcrichton:maybe-no-lock, r=ehuss
authorbors <bors@rust-lang.org>
Fri, 19 Jul 2019 17:19:55 +0000 (17:19 +0000)
committerbors <bors@rust-lang.org>
Fri, 19 Jul 2019 17:19:55 +0000 (17:19 +0000)
commit2b21fa68368f13b43f4c34886116df2e1b9d276e
tree42b17e6fafcbc8a920772e60f32ac9be8fdbd859
parent10776bdde3c9e2812948dd7b88227a618b015a1f
parent650ae6558ebba3cfe48f90a679dd265caf5a9a83
Auto merge of #7149 - alexcrichton:maybe-no-lock, r=ehuss

Don't fail if we can't acquire readonly lock

This commit updates support from #6940 to not only gracefully handle
situations where the lock can be acquired in readonly but not read/write
mode but also handle situations where even a readonly lock can't be
acquired. If a readonly lock can't be acquired (and the read/write
failed) then we likely can't touch anything in the directory, so there's
no value gained from locking anyway.

Closes #7147