# build: don't skip compiler build with \-Dno-bin · gitcafe/zig

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

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

Visibility: public

Requested revision: 6a349648cb29b3e624dfffcc412c4249c0e19d9f

Requested commit: 6a349648cb29b3e624dfffcc412c4249c0e19d9f

Commit: 6a349648cb29b3e624dfffcc412c4249c0e19d9f

Tree: 894a7e796b324f3d275c591c35517e17c2ef7cc4

Author: mlugg

Committer: mlugg

## Message

```
build: don't skip compiler build with -Dno-bin

This option exists for fast iteration during compiler development, since
avoiding codegen (but still performing semantic analysis) causes compile
errors to appear around twice as fast. This option was broken when the
`emit_bin` property on `std.Build.Step.Compile` was removed.

Now, when this option is passed, we add a direct install dependency on
the compile step itself, so that it is always run.

```

## Parents

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

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