mirror of
https://gitee.com/openharmony/third_party_rust_nix
synced 2025-03-01 13:05:42 +00:00
Add posix_fallocate on DragonFly
This commit is contained in:
parent
a392647f45
commit
1eeccb942e
@ -19,6 +19,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||
(#[1581](https://github.com/nix-rust/nix/pull/1581))
|
||||
- Added `sched_setaffinity` and `sched_getaffinity` on DragonFly.
|
||||
(#[1537](https://github.com/nix-rust/nix/pull/1537))
|
||||
- Added `posix_fallocate` on DragonFly.
|
||||
(#[1621](https://github.com/nix-rust/nix/pull/1621))
|
||||
- Added the `SO_TIMESTAMPING` support
|
||||
(#[1547](https://github.com/nix-rust/nix/pull/1547))
|
||||
|
||||
|
@ -749,6 +749,7 @@ mod posix_fadvise {
|
||||
#[cfg(any(
|
||||
target_os = "linux",
|
||||
target_os = "android",
|
||||
target_os = "dragonfly",
|
||||
target_os = "emscripten",
|
||||
target_os = "fuchsia",
|
||||
any(target_os = "wasi", target_env = "wasi"),
|
||||
|
@ -488,6 +488,7 @@ mod test_posix_fadvise {
|
||||
|
||||
#[cfg(any(target_os = "linux",
|
||||
target_os = "android",
|
||||
target_os = "dragonfly",
|
||||
target_os = "emscripten",
|
||||
target_os = "fuchsia",
|
||||
any(target_os = "wasi", target_env = "wasi"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user