From 7d881ce709f300d2a524cc235e9c9b9036689ba4 Mon Sep 17 00:00:00 2001 From: JhonnyV-V Date: Tue, 2 Jul 2024 16:48:10 -0400 Subject: [PATCH] Revert "remove unnecesary targets" This reverts commit e2c655bc16e752a196715f45321183e9a4dc3904. --- generator/src/copy.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/generator/src/copy.rs b/generator/src/copy.rs index c2bcd00..dcec69d 100644 --- a/generator/src/copy.rs +++ b/generator/src/copy.rs @@ -124,6 +124,7 @@ mod test { use super::copy_to_wsl_clipboard; #[test] + #[cfg(target_os = "linux")] fn copy_to_wsl_test() -> std::result::Result<(), nvim_oxi::Error> { if !wsl::is_wsl() { @@ -138,6 +139,7 @@ mod test { } #[test] + #[cfg(target_os = "linux")] fn check_if_folder_exist() { if !wsl::is_wsl() { return;