# build.zig: Emit warning if "config.h" cannot be found · gitcafe/zig

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

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

Visibility: public

Requested revision: 4fc2acdaa4f2b649b17ddf958d2608abc4787a4e

Requested commit: 4fc2acdaa4f2b649b17ddf958d2608abc4787a4e

Commit: 4fc2acdaa4f2b649b17ddf958d2608abc4787a4e

Tree: 4a76dfdd61ae7f39bd53fd6fb8cacd63a92c203d

Author: Cody Tapscott

Committer: Andrew Kelley

## Message

```
build.zig: Emit warning if "config.h" cannot be found

We now warn the user if config.h could not be located.

This also updates the search to stop early upon encountering a
`.git` directory, so that we avoid recursing outside of the zig
source if possible.

```

## Parents

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

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