Skip to content

Commit

Permalink
feat: MIN_HOLE_SIZE for apple targets (#2388)
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveLauC committed Apr 27, 2024
1 parent e99e74c commit e524c40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ targets = [
]

[dependencies]
libc = { version = "0.2.153", features = ["extra_traits"] }
libc = { git = "https://github.com/rust-lang/libc", branch = "libc-0.2", features = ["extra_traits"] }
bitflags = "2.3.1"
cfg-if = "1.0"
pin-utils = { version = "0.1.0", optional = true }
Expand Down
1 change: 1 addition & 0 deletions changelog/2388.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added `PathconfVar::MIN_HOLE_SIZE` for apple_targets.
1 change: 1 addition & 0 deletions src/unistd.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,7 @@ pub enum PathconfVar {
/// may require to be typed as input before reading them.
MAX_INPUT = libc::_PC_MAX_INPUT,
#[cfg(any(
apple_targets,
solarish,
freebsdlike,
target_os = "netbsd",
Expand Down

0 comments on commit e524c40

Please sign in to comment.