# zig libc malloc: skip export when unit testing · gitcafe/zig

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

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

Visibility: public

Requested revision: 6d52678a6cfee1bc05d995bef8d963a5921ed8ea

Requested commit: 6d52678a6cfee1bc05d995bef8d963a5921ed8ea

Commit: 6d52678a6cfee1bc05d995bef8d963a5921ed8ea

Tree: add8e77992efcfe39504068a95f9da74e59d7df2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig libc malloc: skip export when unit testing

These functions can only be exported when external libc components are
available due to the errno location dependency. Note that even when zig
libc is complete, on Windows, errno location will always be external (in
ucrtbase.dll).

```

## Parents

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

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