From f4d5ad7b49b3383966b9ea579b21b2e9b3e5a198 Mon Sep 17 00:00:00 2001 From: Chris Hennick Date: Sun, 3 Mar 2024 18:00:05 -0800 Subject: [PATCH] Bug fix: can't run new test if deflate64 is disabled --- src/read.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/read.rs b/src/read.rs index 7ab3be32..e08b697d 100644 --- a/src/read.rs +++ b/src/read.rs @@ -1362,6 +1362,7 @@ mod test { assert!(reader.is_err()); } + #[cfg(feature = "deflate64")] #[test] fn deflate64_index_out_of_bounds() -> std::io::Result<()> { let file: [u8; 815] = [