We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1052977 + 5e7bfd5 commit 783e38dCopy full SHA for 783e38d
CHANGELOG.md
@@ -26,6 +26,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
26
([#2085](https://github.com/nix-rust/nix/pull/2085))
27
- Added `SO_RTABLE` for OpenBSD and `SO_ACCEPTFILTER` for FreeBSD/NetBSD to `nix::sys::socket::sockopt`.
28
29
+- Removed `flock` from `::nix::fcntl` on Solaris. ([#2082](https://github.com/nix-rust/nix/pull/2082))
30
31
### Changed
32
src/fcntl.rs
@@ -559,7 +559,7 @@ pub enum FlockArg {
559
UnlockNonblock,
560
}
561
562
-#[cfg(not(target_os = "redox"))]
+#[cfg(not(any(target_os = "redox", target_os = "solaris")))]
563
pub fn flock(fd: RawFd, arg: FlockArg) -> Result<()> {
564
use self::FlockArg::*;
565
0 commit comments