diff --git a/examples/write-large-file.rs b/examples/write-large-file.rs index 7302f7d2..2b8ee943 100644 --- a/examples/write-large-file.rs +++ b/examples/write-large-file.rs @@ -3,6 +3,7 @@ use std::io::Write; use zip::write::SimpleFileOptions; +#[cfg(feature = "_deflate-any")] fn main() -> Result<(), Box> { let args: Vec<_> = std::env::args().collect(); if args.len() < 2 {