From 0c3614ab4d89a71cd88ae27a04a5017661854501 Mon Sep 17 00:00:00 2001 From: "N. Tessa Pierce-Ward" Date: Wed, 29 Nov 2023 12:44:42 -0800 Subject: [PATCH] allow zips over 4G --- src/utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.rs b/src/utils.rs index 630868f6..b2487c30 100644 --- a/src/utils.rs +++ b/src/utils.rs @@ -1016,7 +1016,7 @@ pub fn sigwriter + Send + 'static>( let file_writer = open_output_file(&output); let options = - zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored); + zip::write::FileOptions::default().compression_method(zip::CompressionMethod::Stored).large_file(true); let mut zip = zip::ZipWriter::new(file_writer); let mut manifest_rows: Vec = Vec::new(); // keep track of md5sum occurrences to prevent overwriting duplicates