# Zld: Report archive file with cpu arch mismatch · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/47e14b7ffbe02c800ac4c2b4f181ab6c7f022988)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 47e14b7ffbe02c800ac4c2b4f181ab6c7f022988

Requested commit: 47e14b7ffbe02c800ac4c2b4f181ab6c7f022988

Commit: 47e14b7ffbe02c800ac4c2b4f181ab6c7f022988

Tree: 99692d15eacbc578ff18bfce5711c3a49ff7b2ea

Author: Tom Read Cutting

Committer: Jakub Konka

## Message

```
Zld: Report archive file with cpu arch mismatch

This is just a simple/hacky feature to report the source of a linking
error. I found this helpful in fixing-up some of my libs when recently
switching from an x86_64 to aarch64 device, so thought it might be
useful to others a well before zld has a fully featured error reporting
system.

```

## Parents

- [d09e39aefd470ce80da0b0ada703a5c32290f4f1](https://git.cafe/gitcafe/zig/commit/d09e39aefd470ce80da0b0ada703a5c32290f4f1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/47e14b7ffbe02c800ac4c2b4f181ab6c7f022988?format=markdown)
