# compiler: don't error on explicit link_libc=false on requiresLibC\(\) targets · gitcafe/zig

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

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

Visibility: public

Requested revision: 00e6895bde4b5871a944bccf4521b2f6f5f879f6

Requested commit: 00e6895bde4b5871a944bccf4521b2f6f5f879f6

Commit: 00e6895bde4b5871a944bccf4521b2f6f5f879f6

Tree: 5ef6071b34f48ae481b6c0f8785121907403e2cf

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
compiler: don't error on explicit link_libc=false on requiresLibC() targets

There are various reasons why one might want to still create libc-less
compilations on these targets. Case in point: Compiling our bundled crt0 for
OpenBSD.

We will still default to linking libc on these targets, though.

```

## Parents

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

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