# fix build.zig logic for \-target-cpu and \-target-feature · gitcafe/zig

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

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

Visibility: public

Requested revision: 3ed52e5453a6971c6a3db0846f503478922d4ea5

Requested commit: 3ed52e5453a6971c6a3db0846f503478922d4ea5

Commit: 3ed52e5453a6971c6a3db0846f503478922d4ea5

Tree: 9f1ee884f49d85c227369d7513c748058a0c7091

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix build.zig logic for -target-cpu and -target-feature

fix a false negative for detecting the ability to emit these flags.
it matters for stage0/stage1 on aarch64

```

## Parents

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

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