# Add ArgIteratorWasi and integrate it with ArgIterator · gitcafe/zig

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

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

Visibility: public

Requested revision: f1a4e1a70f4ecefbae7813d7170f465234c03273

Requested commit: f1a4e1a70f4ecefbae7813d7170f465234c03273

Commit: f1a4e1a70f4ecefbae7813d7170f465234c03273

Tree: 81e831c694484f8737df2ca4f52263ba00300c31

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
Add ArgIteratorWasi and integrate it with ArgIterator

This commit pulls WASI specific implementation of args extraction
from the runtime from `process.argsAlloc` and `process.argsFree`
into a new iterator struct `process.ArgIteratorWasi`. It also
integrates the struct with platform-independent `process.ArgIterator`.

```

## Parents

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

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