From caa446381727a6c26b7156824d04923ef0232ac9 Mon Sep 17 00:00:00 2001 From: sagie gur ari Date: Sat, 18 Jan 2025 14:44:48 +0000 Subject: [PATCH] fix build --- src/lib/completion_test.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/completion_test.rs b/src/lib/completion_test.rs index 0408cbfe..e1fc5ff9 100644 --- a/src/lib/completion_test.rs +++ b/src/lib/completion_test.rs @@ -3,6 +3,8 @@ use std::path::Path; #[cfg(target_os = "linux")] use crate::completion::generate_completion_zsh; + +#[cfg(target_os = "linux")] use std::io::Cursor; // Function to clean up test environment by removing the completion file