Skip to content

v3.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 15 Feb 00:47
· 0 commits to master since this release
600eac4

Compatibility notes: this release requires Rust 2024.

cpz optimizations:

  • When copying files across file systems, avoid making a pointless syscall we know will fail. 4c71d2d
  • Avoid making an unnecessary syscall when copying regular files with a non-zero size as we know exactly how many bytes will be copied. The non-zero size predicate is important because some regular files are weird and claim to have zero size but return data when read (e.g. files in /sys/fs/cgroup). ed26020
  • Remove some extra mkdir syscalls at the start of the copying process. 47b22bf
  • Fixed a missed opportunity to use copy acceleration when copying one top-level file. rust-lang/rust#134547
  • Fixed an unnecessary statx call. rust-lang/rust#134649

rmz optimizations:

  • On legacy file systems that don't return a file type when iterating over a directory, don't stat the file to get its type. Instead, simply rely on the unlink syscall to tell us if we're accidentally trying to remove a directory. 5af7d26