# Misc\. \`std.Io\` fixes for WASI and Emscripten · gitcafe/zig

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

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

Visibility: public

Requested revision: 0a8e8e67d7e67e8381f2dcdb8e5ede8e42a71649

Requested commit: 0a8e8e67d7e67e8381f2dcdb8e5ede8e42a71649

Commit: 0a8e8e67d7e67e8381f2dcdb8e5ede8e42a71649

Tree: 71b723b9277106db0ce8b76d19db9cdc9ac0d82a

Author: Carl Åstholm

Committer: Carl Åstholm

## Message

```
Misc. `std.Io` fixes for WASI and Emscripten

- Corrects WASI `UTIME_*` definitions now that the libc build has been
  fixed (see previous commit), and adds the corresponding definitions
  for Emscripten which were missing.
- Fixes `dirReadUnimplemented()`, which didn't compile.
- Prevents a dependency on `pthread_kill` from being pulled in in
  single-threaded Emscripten builds, where it isn't defined.

With these changes, Emscripten can now participate in juicy main.

```

## Parents

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

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