# std: add native cpu detection for apple m3 \(\#21116\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 7071d1b3c2ed908bb8f1170673b50568ed56da7b

Requested commit: 7071d1b3c2ed908bb8f1170673b50568ed56da7b

Commit: 7071d1b3c2ed908bb8f1170673b50568ed56da7b

Tree: 9abf79c366354622d41e2e538c21453286108c14

Author: Meghan Denny

Committer: GitHub

## Message

```
std: add native cpu detection for apple m3 (#21116)

* std.c.darwin: add missing CPUFAMILY fields

* std.zig.system.detectNativeCpuAndFeatures: add missing darwin fields

* add comment so the prong isnt lost and easily discoverable during next llvm upgrade
```

## Parents

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

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