Skip to content

Commit efe0379

Browse files
committed
CHANGELOG entry
1 parent 4dfccde commit efe0379

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ This project adheres to [Semantic Versioning](https://semver.org/).
5656
MacOS, FreeBSD, DragonflyBSD, Android, iOS and Haiku.
5757
([#2074](https://github.com/nix-rust/nix/pull/2074))
5858

59+
- Added `F_KINFO` FcntlFlags entry on FreeBSD for `::nix::fcntl`.
60+
([#2152](https://github.com/nix-rust/nix/pull/2152))
61+
5962
## [0.27.1] - 2023-08-28
6063

6164
### Fixed

src/fcntl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
use crate::errno::Errno;
2-
#[cfg(target_os = "freebsd")]
2+
#[cfg(all(target_os = "freebsd", target_arch = "x86_64"))]
33
use core::slice;
44
use libc::{self, c_int, c_uint, size_t, ssize_t};
55
#[cfg(any(
@@ -509,7 +509,7 @@ pub enum FcntlArg<'a> {
509509
F_SETPIPE_SZ(c_int),
510510
#[cfg(any(target_os = "netbsd", target_os = "dragonfly", target_os = "macos", target_os = "ios"))]
511511
F_GETPATH(&'a mut PathBuf),
512-
#[cfg(target_os = "freebsd")]
512+
#[cfg(all(target_os = "freebsd", target_arch = "x86_64"))]
513513
F_KINFO(&'a mut PathBuf),
514514
// TODO: Rest of flags
515515
}

0 commit comments

Comments
 (0)