From 77ba6b79be0c14483eac5ea683ab1b5dcf581058 Mon Sep 17 00:00:00 2001 From: MaxVerevkin Date: Mon, 24 Mar 2025 18:15:57 +0200 Subject: update msrv-related todos --- src/main.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.rs') 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 { -- cgit v1.3.1