diff --git a/crates/puffin-build/src/lib.rs b/crates/puffin-build/src/lib.rs index 8bd1f45c711e..ee4570754c21 100644 --- a/crates/puffin-build/src/lib.rs +++ b/crates/puffin-build/src/lib.rs @@ -689,6 +689,8 @@ fn extract_archive(sdist: &Path, extracted: &PathBuf) -> Result { // .tar.gz let mut archive = Archive::new(GzDecoder::new(File::open(sdist)?)); + // https://github.com/alexcrichton/tar-rs/issues/349 + archive.set_preserve_mtime(false); archive.unpack(extracted)?; } else { return Err(Error::UnsupportedArchiveType(