about summary refs log tree commit diff
path: root/library/std/src
diff options
context:
space:
mode:
authorMatthew Maurer <mmaurer@google.com>2025-08-28 23:03:25 +0000
committerMatthew Maurer <mmaurer@google.com>2025-08-29 00:18:39 +0000
commit2d0668d37cd5d10504bdd62bcedef457b8fbad40 (patch)
treecd652ce3563ca16dac0055f8e59decaf9cd2bf91 /library/std/src
parent3c91be712d3d84f6345cd22eae34c47b3a22a3d3 (diff)
downloadrust-2d0668d37cd5d10504bdd62bcedef457b8fbad40.tar.gz
rust-2d0668d37cd5d10504bdd62bcedef457b8fbad40.zip
Mark pipe2 supported in Android
Android has supported pipe2 since 2010, long before the current min SDK.
Diffstat (limited to 'library/std/src')
-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",