# compiler-rt, zigc: Use hidden visibility except when testing\. · gitcafe/zig

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

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

Visibility: public

Requested revision: 092352ec63d3a4e9ff59a5d8ad8f119bf0eda468

Requested commit: 092352ec63d3a4e9ff59a5d8ad8f119bf0eda468

Commit: 092352ec63d3a4e9ff59a5d8ad8f119bf0eda468

Tree: df59739ecb008fb3412477964932933c7ec1d8bc

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
compiler-rt, zigc: Use hidden visibility except when testing.

This prevents symbols from these libraries from polluting the dynamic symbol
tables of binaries built with Zig. The downside is that we no longer deduplicate
the symbols at run time due to weak linkage.

Closes #7935.
Closes #13303.
Closes #19342.

```

## Parents

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

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