mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-30 14:52:56 +03:00
ff41c99bb8
This uses `libc::fcntl`, which, while not explicitly marked as available in the headers, is already used by `File::sync_all` and `File::sync_data` on these platforms, so should be fine to use here as well.