# spirv: make the backend compile again · gitcafe/zig

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

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

Visibility: public

Requested revision: 89ba8859704486d526a75434f18d5a25ff89d57b

Requested commit: 89ba8859704486d526a75434f18d5a25ff89d57b

Commit: 89ba8859704486d526a75434f18d5a25ff89d57b

Tree: da2ee8131619f320818ae99778d270c8589f17cb

Author: mlugg

Committer: mlugg

## Message

```
spirv: make the backend compile again

Unfortunately, the self-hosted SPIR-V backend is quite tightly coupled
with the self-hosted SPIR-V linker through its `Object` concept (which
is much like `llvm.Object`). Reworking this would be too much work for
this branch. So, for now, I have introduced a special case (similar to
the LLVM backend's special case) to the codegen logic when using this
backend. We will want to delete this special case at some point, but it
need not block this work.

```

## Parents

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

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