# std: add generic target for spirv · gitcafe/zig

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

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

Visibility: public

Requested revision: 6dc1fafe9882bdfb063c9bc02149c4a97fcaa2b5

Requested commit: 6dc1fafe9882bdfb063c9bc02149c4a97fcaa2b5

Commit: 6dc1fafe9882bdfb063c9bc02149c4a97fcaa2b5

Tree: 60c6e7b4d5ac2812733e87d97c67a72e142f0aa2

Author: Robin Voetter

Committer: Robin Voetter

## Message

```
std: add generic target for spirv

This adds a general target for SPIR-V compilation. Previously there was not
any target machine defined for SPIR-V.

TODO is to reword the features for this target. We don't really need the full
list of capabilities in the features, we should only put a few features here
which we can actually use during code generation.

```

## Parents

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

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