summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorMaxVerevkin <maxxverrr@gmail.com>2025-03-24 18:15:57 +0200
committerMaxVerevkin <maxxverrr@gmail.com>2025-03-24 18:15:57 +0200
commit77ba6b79be0c14483eac5ea683ab1b5dcf581058 (patch)
tree248e62fb7c6aae04e96548f12055e05527cb4d42 /src/main.rs
parentfbc2a0bc56ab75affd8dc4277ad04940ce0d21a4 (diff)
downloadi3bar-mango-77ba6b79be0c14483eac5ea683ab1b5dcf581058.tar.gz
update msrv-related todos
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 {