Skip to content

Commit

Permalink
fcntl::OFlags enabling O_DIRECT flag for solarish (#2278)
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen authored Jan 2, 2024
1 parent d2445bf commit a1aa343
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 = { git = "https://github.com/rust-lang/libc", rev = "6a203e955b60cca48562f020f0e4e003079f3199", features = ["extra_traits"] }
libc = { git = "https://github.com/rust-lang/libc", rev = "cb18b837963c37a8d21732f3ca2c2096f04e6830", 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/2278.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Enabled `O_DIRECT` in `fcntl::OFlags` for solarish
1 change: 1 addition & 0 deletions src/fcntl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ libc_bitflags!(
#[cfg(any(
freebsdlike,
linux_android,
solarish,
target_os = "netbsd"
))]
O_DIRECT;
Expand Down

0 comments on commit a1aa343

Please sign in to comment.