# std.fs.Dir.openDir: use wasi libc API when \-lc · gitcafe/zig

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

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

Visibility: public

Requested revision: 7974576967157aede2beff8c960d18685d7d5b6d

Requested commit: 7974576967157aede2beff8c960d18685d7d5b6d

Commit: 7974576967157aede2beff8c960d18685d7d5b6d

Tree: e0b5769413481e0226c04af74578f98e9252d5e8

Author: Linus Groh

Committer: Andrew Kelley

## Message

```
std.fs.Dir.openDir: use wasi libc API when -lc

Same as #19680 but for directories.

```

## Parents

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

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