-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-windowsOperating system: WindowsOperating system: Windows
Description
WSL1 does not support fcntl
-based advisory locks, therefore the current src/librustc_data_structures/flock.rs implementation does not work.
This issue can be observed by running cargo doc
on a repository with many crates. The search-index.js
can miss crates.
According to my test libc::flock
is working on WSL. We could replace fcntl
based lock with flock
based lock for Linux. However this will break lock over NFS for Linux 2.6.11 or earlier, I can author a PR if that's okay.
Related WSL issue: microsoft/WSL#1927
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.O-windowsOperating system: WindowsOperating system: Windows