# std.zig.target: Check OS version for all targets in canBuildLibC\(\)\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 424f9ba53289ab720c76ae06685168b1bf3f5a59

Requested commit: 424f9ba53289ab720c76ae06685168b1bf3f5a59

Commit: 424f9ba53289ab720c76ae06685168b1bf3f5a59

Tree: f8f5a94dd5112d93f1d89ad6781d1842a904e45e

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
std.zig.target: Check OS version for all targets in canBuildLibC().

The old logic only checked it for macOS, but we also need it to be checked for
Linux now.

```

## Parents

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

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