diff options
| author | Matthew Maurer <mmaurer@google.com> | 2025-08-28 23:03:25 +0000 |
|---|---|---|
| committer | Matthew Maurer <mmaurer@google.com> | 2025-08-29 00:18:39 +0000 |
| commit | 2d0668d37cd5d10504bdd62bcedef457b8fbad40 (patch) | |
| tree | cd652ce3563ca16dac0055f8e59decaf9cd2bf91 /library/std/src | |
| parent | 3c91be712d3d84f6345cd22eae34c47b3a22a3d3 (diff) | |
| download | rust-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.rs | 1 |
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", |
