mirror of
https://github.com/borgbackup/borg.git
synced 2026-10-11 22:29:54 +00:00
Haiku r1beta6 can silently store stale pages when a write() gets its data from a memory mapped file, see https://dev.haiku-os.org/ticket/20392 . That is what broke rust builds there (corrupt .rlib archives, rustc ICEs). scripts/haiku_mmap_pread_shim.c replaces private mappings of regular files by anonymous memory filled via pread(). The haiku job builds it and preloads it into everything it runs. With that, the previous workarounds are removed: the pip install retry loop, the serialized rust build and the relocated TMPDIR / cargo target dir. Co-Authored-By: Claude Fable 5.1 <[email protected]>