# fix build logic due to state mutations and break the API accordingly · gitcafe/zig

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

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

Visibility: public

Requested revision: 3c3cee2cfabc5d03bb83cf6cc6a8ed80f13ee1df

Requested commit: 3c3cee2cfabc5d03bb83cf6cc6a8ed80f13ee1df

Commit: 3c3cee2cfabc5d03bb83cf6cc6a8ed80f13ee1df

Tree: b440fbaf013ed472c39a60381928c0224e694f5c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix build logic due to state mutations and break the API accordingly

 * remove setName, setFilter, and setTestRunner. Please set these
   options directly when creating the CompileStep.
 * removed unused field
 * remove computeOutFileNames and inline the logic, making clear the
   goal of avoiding state mutations after the build step is created.

```

## Parents

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

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