Expand description

Simple file-locking apis for each OS.

This is not meant to be in the standard library, it does nothing with green/native threading. This is just a bare-bones enough solution for librustdoc, it is not production quality at all.

Modules§

  • linux 🔒
    We use flock rather than fcntl on Linux, because WSL1 does not support fcntl-style advisory locks properly (rust-lang/rust#72157). For other Unix targets we still use fcntl because it’s more portable than flock.

Structs§