# std: Remove duplicated code · gitcafe/zig

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

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

Visibility: public

Requested revision: 2622575fde2b5d70926fe62ed272412d72eef7b0

Requested commit: 2622575fde2b5d70926fe62ed272412d72eef7b0

Commit: 2622575fde2b5d70926fe62ed272412d72eef7b0

Tree: 4949baa8e28e79b0e28349e55cfd89ca249a6d75

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
std: Remove duplicated code

Make osRequiresLibC call Os.requiresLibC, let's keep a single list of OS
that require the libc to be linked in.

```

## Parents

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

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