# stage1: add more wasi.c stubs · gitcafe/zig

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

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

Visibility: public

Requested revision: 60a1ba0a8f3517356fa2941462f002a7f580545b

Requested commit: 60a1ba0a8f3517356fa2941462f002a7f580545b

Commit: 60a1ba0a8f3517356fa2941462f002a7f580545b

Tree: 3a5eb3193d3d192c54ab0c2b7295a7f21861c27e

Author: Matthew Lugg

Committer: Matthew Lugg

## Message

```
stage1: add more wasi.c stubs

Because `std.Io` forces analysis of unused functions in the vtable,
there are now references to 4 more WASI functions, even though the
compiler does not actually call them at runtime.

Therefore, these new stubs fix the bootstrap process after a zig1.wasm
update (though this branch does *not* update zig1.wasm).

```

## Parents

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

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