Package: sccache
Version: 0.9.0-1

I am currently looking at updating rust-backtrace and related packages
to the latest version, backtrace itself is not semver-breaking but
a number of it's dependencies are.

backtrace 0.3.69 -> 0.3.74
addr2line 0.21.4 -> 0.24.2
object 0.32.3 -> 0.36.5
gimli 0.28.1 -> 0.31.1
ruzstd 0.5.0 -> 0.7.3

sccache in particular depends on rust-object.

After bumping the dependency I got a failure to find
macho::FatHeader::parse , checking the upstream changelog I found
the following entry.

Replaced macho::FatHeader::parse, macho::FatHeader::parse_arch32,
and macho::FatHeader::parse_arch64 with read::macho::MachOFatFile,
read::macho::MachOFatFile32 and read::macho::MachOFatFile64. #623

After doing some exploration of the new API there doesn't seem to
be a way to try to parse a FatHeader without knowing before hand
if it is the 32 or 64 bit version. So I made the code try both
one after the other (and if both fail, it assumes it's not a
fat binary).

After applying the patch, I got the same number of test failures
as reported in bug 1090040

Reply via email to