# stage2/wasm: write exports on flush, cleanup · gitcafe/zig

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

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

Visibility: public

Requested revision: 60fb50ee5a4a06687bf2f7b8774cc46f73a5b07e

Requested commit: 60fb50ee5a4a06687bf2f7b8774cc46f73a5b07e

Commit: 60fb50ee5a4a06687bf2f7b8774cc46f73a5b07e

Tree: d09a9107f1a91eec76e91f7d0ca737a32881e399

Author: Isaac Freund

Committer: Isaac Freund

## Message

```
stage2/wasm: write exports on flush, cleanup

Exports now have a dirty flag and are rewritten on flush if this flag
has been set.

A couple other minor changes have been made based on Andrew's review.

```

## Parents

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

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