Export ZERO_AR_DATE for macos linker invocations by alexcrichton · Pull Request #71931 · rust-lang/rust (original) (raw)

Does that sound correct?

Yes, that matches my understanding. I remember recently running into something with tar, where the defaults are atrocious1, but I thought ar wasn't subject to the same issues.

1. --sort=name --mtime=1970-01-01Z --numeric-owner --owner=0 --group=0 are the flags needed by tar - note the Z, without it, it depends on your timezone, that was "fun" to debug. and --mtime=0 means "start of today" or some useless thing like that, so you have to put in the UNIX epoch by hand