Skip to content

Commit a1aa343

Browse files
authored
fcntl::OFlags enabling O_DIRECT flag for solarish (#2278)
1 parent d2445bf commit a1aa343

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ targets = [
2828
]
2929

3030
[dependencies]
31-
libc = { git = "https://github.com/rust-lang/libc", rev = "6a203e955b60cca48562f020f0e4e003079f3199", features = ["extra_traits"] }
31+
libc = { git = "https://github.com/rust-lang/libc", rev = "cb18b837963c37a8d21732f3ca2c2096f04e6830", features = ["extra_traits"] }
3232
bitflags = "2.3.1"
3333
cfg-if = "1.0"
3434
pin-utils = { version = "0.1.0", optional = true }

changelog/2278.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Enabled `O_DIRECT` in `fcntl::OFlags` for solarish

src/fcntl.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ libc_bitflags!(
9292
#[cfg(any(
9393
freebsdlike,
9494
linux_android,
95+
solarish,
9596
target_os = "netbsd"
9697
))]
9798
O_DIRECT;

0 commit comments

Comments
 (0)