mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-28 03:24:11 +00:00
[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:
5dbfd19ad5. I've verified that this change passes all of std's tests on illumos.