llvm-as invocations should be passed --target
As we found in ghcup-ci#3, clang
invocations called to assemble assembly produced by the LLVM backend are liable to fail on AArch64/Darwin with Rosetta for the same reason observed in #20162 (closed). We should mitigate this by passing these --target
, just as we do with other cc
invocations.