Skip to content

Commit 55c6e31

Browse files
authored
Unrolled build for rust-lang#132984
Rollup merge of rust-lang#132984 - sunshowers:pipe2, r=tgross35 [illumos] use pipe2 to create anonymous pipes pipe2 allows the newly-created pipe to atomically be CLOEXEC. pipe2 was added to illumos a long time ago: illumos/illumos-gate@5dbfd19. I've verified that this change passes all of std's tests on illumos.
2 parents 3bc6916 + fb3edb2 commit 55c6e31

File tree

1 file changed

+1
-0
lines changed
  • library/std/src/sys/pal/unix

1 file changed

+1
-0
lines changed

library/std/src/sys/pal/unix/pipe.rs

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ pub fn anon_pipe() -> io::Result<(AnonPipe, AnonPipe)> {
2323
target_os = "dragonfly",
2424
target_os = "freebsd",
2525
target_os = "hurd",
26+
target_os = "illumos",
2627
target_os = "linux",
2728
target_os = "netbsd",
2829
target_os = "openbsd",

0 commit comments

Comments
 (0)