about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTrevor Gross <t.gross35@gmail.com>2025-08-29 19:33:05 -0500
committerGitHub <noreply@github.com>2025-08-29 19:33:05 -0500
commit98806c8fdccdd65e8715b21443ce365086445e4c (patch)
treec7edc6af1eee60b5a0cc2c16300629b38ad279c7
parentb722da955f8151edeef8b3fea498a43975441742 (diff)
parent2d0668d37cd5d10504bdd62bcedef457b8fbad40 (diff)
downloadrust-98806c8fdccdd65e8715b21443ce365086445e4c.tar.gz
rust-98806c8fdccdd65e8715b21443ce365086445e4c.zip
Rollup merge of #146017 - maurer:pipe2, r=Mark-Simulacrum
Mark pipe2 supported in Android

Android has supported pipe2 since 2010, long before the current min SDK.
-rw-r--r--library/std/src/sys/pal/unix/pipe.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/pipe.rs b/library/std/src/sys/pal/unix/pipe.rs
index 6b0cd14da4f..4798acf9dad 100644
--- a/library/std/src/sys/pal/unix/pipe.rs
+++ b/library/std/src/sys/pal/unix/pipe.rs
@@ -20,6 +20,7 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> {
     // and musl 0.9.3, and some other targets also have it.
     cfg_select! {
         any(
+            target_os = "android",
             target_os = "dragonfly",
             target_os = "freebsd",
             target_os = "hurd",