# zig.h: Avoid depending on cpuid.h for zig_x86_cpuid\(\)\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 204df19d79833382bbee0ed110502919dc7341f8

Requested commit: 204df19d79833382bbee0ed110502919dc7341f8

Commit: 204df19d79833382bbee0ed110502919dc7341f8

Tree: 6d7386f97978073f01a89094de2a035d7b8c500a

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
zig.h: Avoid depending on cpuid.h for zig_x86_cpuid().

Just use inline assembly instead, which is what that header does. Also make sure
we have a dummy implementation when inline assembly is unavailable.

```

## Parents

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

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