From 07caf646a0f202670f73663cc775d3b49a77e7ae Mon Sep 17 00:00:00 2001 From: Chris Hennick <4961925+Pr0methean@users.noreply.github.com> Date: Fri, 10 May 2024 14:30:52 -0700 Subject: [PATCH] test: Fix cfg - new test is only needed on Unix and can only run with deflate --- tests/repro_old423.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/repro_old423.rs b/tests/repro_old423.rs index 8aac8b7b..613ebd53 100644 --- a/tests/repro_old423.rs +++ b/tests/repro_old423.rs @@ -3,6 +3,7 @@ use std::io; use zip::result::ZipResult; use zip::ZipArchive; +#[cfg(all(unix, feature = "_deflate-any"))] #[test] fn repro_old423() -> ZipResult<()> { let mut v = Vec::new();