# zig libc: export all symbols weak · gitcafe/zig

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

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

Visibility: public

Requested revision: 21829a5b4ab0f21864e6e84fe585da365bab50c2

Requested commit: 21829a5b4ab0f21864e6e84fe585da365bab50c2

Commit: 21829a5b4ab0f21864e6e84fe585da365bab50c2

Tree: e9eb069a0989c8179b5c988fe306fbff5b5219c1

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig libc: export all symbols weak

Normally, libc goes into a static archive, making all symbols
overrideable. However, Zig supports including the libc functions as part
of the Zig Compilation Unit, so to support this use case we make all
symbols weak.

```

## Parents

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

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