# cc,wasi: store CRTFile enum in wasi_emulated_libs · gitcafe/zig

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

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

Visibility: public

Requested revision: 2ee1f7898b27447bb9b21d284842415c7459db4b

Requested commit: 2ee1f7898b27447bb9b21d284842415c7459db4b

Commit: 2ee1f7898b27447bb9b21d284842415c7459db4b

Tree: 1e22f27275c7c6ee6928ddd3a7c90f4b66d12ee6

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
cc,wasi: store CRTFile enum in wasi_emulated_libs

* then, in `link/Wasm.zig` map `CRTFile` to full emulated libs name
* move logic for removing any mention of WASI snapshot
  `wasi_snapshot_preview1` from `Compilation.zig` into `link/Wasm.zig`

```

## Parents

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

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