summaryrefslogtreecommitdiffstats
path: root/vendor/rustix/src/pipe.rs
diff options
context:
space:
mode:
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)> {