# ubsan: don't create ubsan in every static lib by default · gitcafe/zig

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

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

Visibility: public

Requested revision: e18c7f9cca42731792cb9700744380197812747e

Requested commit: e18c7f9cca42731792cb9700744380197812747e

Commit: e18c7f9cca42731792cb9700744380197812747e

Tree: 872473dad8fd87f36be7e4621c011fa9b0b34c55

Author: Andrew Kelley

Committer: David Rubin

## Message

```
ubsan: don't create ubsan in every static lib by default

Problem here is if zig is asked to create multiple static libraries, it
will build the runtime multiple times and then they will conflict.
Instead we want to build the runtime exactly once.

```

## Parents

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

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