]> git.proxmox.com Git - cargo.git/commit
Auto merge of #10975 - theCapypara:flock-enosys-android, r=weihanglo
authorbors <bors@rust-lang.org>
Tue, 16 Aug 2022 12:29:32 +0000 (12:29 +0000)
committerbors <bors@rust-lang.org>
Tue, 16 Aug 2022 12:29:32 +0000 (12:29 +0000)
commit5a7ba9cdfbb09d389888bfaade91dd48ed034140
tree8d714d0afca2ae2dccfcb0f2dffb32d33b97358e
parent84941490fd7304317282a89309c1fe2123200a8b
parentb0c9586f4cbf426914df47c65de38ea323772c74
Auto merge of #10975 - theCapypara:flock-enosys-android, r=weihanglo

Fix file locking being not supported on Android raising an error

This PR fixes #10972 by not failing Cargo operations when the `target_os` is Android and file locking is being reported as not being implemented by the kernel.

I am sadly unable to actually test this at the moment, since despite my best efforts I am not able to get Cargo actually cross-compiled for Android (aarch64-linux-android).

I however don't see any reason why this wouldn't work. `target_os` is "android" on Android and not "linux".