# zig_llvm: Reduce our exposure to LLVM API breakage\. · gitcafe/zig

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

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

Visibility: public

Requested revision: f1f804e532e603a3f58d559d32a1c8120691d891

Requested commit: f1f804e532e603a3f58d559d32a1c8120691d891

Commit: f1f804e532e603a3f58d559d32a1c8120691d891

Tree: dd744ef6ca7fc930887d86021eb01298b5cfacb0

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
zig_llvm: Reduce our exposure to LLVM API breakage.

LLVM recently introduced new Triple::ArchType members in 19.1.3 which broke our
static assertions in zig_llvm.cpp. When implementing a fix for that, I realized
that we don't even need a lot of the stuff we have in zig_llvm.(cpp,h) anymore.
This commit trims the interface down considerably.

```

## Parents

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

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