summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/pipe.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:59:24 +0000
commit023939b627b7dc93b01471f7d41fb8553ddb4ffa (patch)
tree60fc59477c605c72b0a1051409062ddecc43f877 /vendor/rustix/src/pipe.rs
parentAdding debian version 1.72.1+dfsg1-1. (diff)
downloadrustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.tar.xz
rustc-023939b627b7dc93b01471f7d41fb8553ddb4ffa.zip
Merging upstream version 1.73.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/rustix/src/pipe.rs')
-rw-r--r--vendor/rustix/src/pipe.rs10
1 files changed, 9 insertions, 1 deletions
diff --git a/vendor/rustix/src/pipe.rs b/vendor/rustix/src/pipe.rs
index a4c300abd..1817401c2 100644
--- a/vendor/rustix/src/pipe.rs
+++ b/vendor/rustix/src/pipe.rs
@@ -11,6 +11,7 @@ use crate::{backend, io};
#[cfg(not(any(
solarish,
windows,
+ target_os = "espidf",
target_os = "haiku",
target_os = "redox",
target_os = "wasi",
@@ -36,6 +37,7 @@ pub use backend::pipe::types::{IoSliceRaw, SpliceFlags};
#[cfg(not(any(
solarish,
windows,
+ target_os = "espidf",
target_os = "haiku",
target_os = "redox",
target_os = "wasi",
@@ -91,7 +93,13 @@ pub fn pipe() -> io::Result<(OwnedFd, OwnedFd)> {
/// [OpenBSD]: https://man.openbsd.org/pipe2.2
/// [DragonFly BSD]: https://man.dragonflybsd.org/?command=pipe2&section=2
/// [illumos]: https://illumos.org/man/2/pipe2
-#[cfg(not(any(apple, target_os = "aix", target_os = "haiku")))]
+#[cfg(not(any(
+ apple,
+ target_os = "aix",
+ target_os = "espidf",
+ target_os = "haiku",
+ target_os = "nto"
+)))]
#[inline]
#[doc(alias = "pipe2")]
pub fn pipe_with(flags: PipeFlags) -> io::Result<(OwnedFd, OwnedFd)> {