# Add CPU feature check to standardTargetOptions · gitcafe/zig

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

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

Visibility: public

Requested revision: 7ba175cd8b6fe421cd9c75c03006d2325906076c

Requested commit: 7ba175cd8b6fe421cd9c75c03006d2325906076c

Commit: 7ba175cd8b6fe421cd9c75c03006d2325906076c

Tree: 605b7fbc8d5830d1887da9c4d696de61c34d8286

Author: Edward Dean

Committer: Andrew Kelley

## Message

```
Add CPU feature check to standardTargetOptions

If there is a mismatch of CPU features provided
compared to the whitelist, then will fail the build and
print what the expected CPU model is and the feature
set for the model. Also prints what features need to be
removed.

```

## Parents

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

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