mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-29 03:37:26 +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.