From ffe3e9a8e681848e72809b768f96112356e2fa62 Mon Sep 17 00:00:00 2001 From: Ilya <47112191+ItsEeleeya@users.noreply.github.com> Date: Fri, 3 Jan 2025 15:15:42 +0330 Subject: [PATCH] Fix create_channel_named_pipe on unix, wrong mod --- crates/utils/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/utils/src/lib.rs b/crates/utils/src/lib.rs index 79658364..188445e9 100644 --- a/crates/utils/src/lib.rs +++ b/crates/utils/src/lib.rs @@ -92,7 +92,7 @@ where let _ = std::fs::remove_file(&pipe_path); // Make FIFO if not existing - stat::mkfifo(&pipe_path, stat::Mode::S_IRWXU) + nix::unistd::mkfifo(&pipe_path, stat::Mode::S_IRWXU) .expect("Failed to create a Unix FIFO with mkfifo()"); tokio::spawn(async move {