summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index 598864a..2e7aeb2 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -109,6 +109,7 @@ fn main() -> anyhow::Result<()> {
unreachable!();
}
+// TODO: remove once Rust 1.87.0 is stable
fn pipe(flags: libc::c_int) -> io::Result<[RawFd; 2]> {
let mut fds = [0; 2];
if unsafe { libc::pipe2(fds.as_mut_ptr(), flags) } == -1 {