diff options
Diffstat (limited to 'vendor/rustix/src/pipe.rs')
-rw-r--r-- | vendor/rustix/src/pipe.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/vendor/rustix/src/pipe.rs b/vendor/rustix/src/pipe.rs index 2a45b7a9d..5f0175c85 100644 --- a/vendor/rustix/src/pipe.rs +++ b/vendor/rustix/src/pipe.rs @@ -14,6 +14,7 @@ use crate::{backend, io}; target_os = "espidf", target_os = "haiku", target_os = "redox", + target_os = "vita", target_os = "wasi", )))] use backend::c; @@ -39,7 +40,9 @@ pub use backend::pipe::types::{IoSliceRaw, SpliceFlags}; windows, target_os = "espidf", target_os = "haiku", + target_os = "hurd", target_os = "redox", + target_os = "vita", target_os = "wasi", )))] pub const PIPE_BUF: usize = c::PIPE_BUF; @@ -153,9 +156,9 @@ pub fn splice<FdIn: AsFd, FdOut: AsFd>( /// the pipe is placed in `fd`. /// /// Additionally if `SpliceFlags::GIFT` is set, the caller must also ensure -/// that the contents of `bufs` in never modified following the call, -/// and that all of the pointers in `bufs` are page aligned, -/// and the lengths are multiples of a page size in bytes. +/// that the contents of `bufs` in never modified following the call, and that +/// all of the pointers in `bufs` are page aligned, and the lengths are +/// multiples of a page size in bytes. /// /// # References /// - [Linux] |