# Compilation.create: skip libc_installation on darwin · gitcafe/zig

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

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

Visibility: public

Requested revision: e0623df9f7bcd2f2cf55e11da535bcbd3455d64a

Requested commit: e0623df9f7bcd2f2cf55e11da535bcbd3455d64a

Commit: e0623df9f7bcd2f2cf55e11da535bcbd3455d64a

Tree: 4877712478587b422efabce3b366404f1806d912

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Compilation.create: skip libc_installation on darwin

If the "is darwin" check is moved below the libc_installation check
below, error.LibCInstallationMissingCrtDir is returned from
lci.resolveCrtPaths().

This should be revisited because it makes sense to check
libc_installation first even on darwin.

Anyway for now this more closely matches logic from master branch.

```

## Parents

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

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