# wasi: clean up linking logic · gitcafe/zig

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

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

Visibility: public

Requested revision: dd84ccda5daf63373b2b5df3ac02025017b7efbf

Requested commit: dd84ccda5daf63373b2b5df3ac02025017b7efbf

Commit: dd84ccda5daf63373b2b5df3ac02025017b7efbf

Tree: c85dbd8048ffdac85962d4e8ac83f94ce2b94cc0

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
wasi: clean up linking logic

Do not try to link WASI libc or emulated subcomponents when not
targeting WASI; e.g., when targeting `wasm32-freestanding`.

```

## Parents

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

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