# test: Change llvm_targets to actually emit an object for each target\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 78b8ce5095abf6516dc414b8cf487acedbd0ce99

Requested commit: 78b8ce5095abf6516dc414b8cf487acedbd0ce99

Commit: 78b8ce5095abf6516dc414b8cf487acedbd0ce99

Tree: 3d3abfc33595667d5645a9e34ee76c0f3d8fb665

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
test: Change llvm_targets to actually emit an object for each target.

Without doing this, we don't actually test whether the data layout string we
generate matches LLVM's.

A number of targets had to be commented out due to this change:

* Some are using a non-working experimental LLVM backend (arc, csky, ...).
* Some don't have working LLD support (lanai, sparc, ...).
* Some don't have working self-hosted linker support (nvptx).
* Some are using ABIs that haven't been standardized (loongarch32).

Finally, all non-x86 uefi targets are hopelessly broken and can't really be
fixed until we change our emit logic to lower *-uefi-* verbatim rather than to
*-windows-*. See: https://github.com/ziglang/zig/issues/21630

```

## Parents

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

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