# stage2: fix \-Domit-stage2 regression · gitcafe/zig

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

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

Visibility: public

Requested revision: 2f9264d8dcedba3a75dcf9d6a31b82447dfc57e8

Requested commit: 2f9264d8dcedba3a75dcf9d6a31b82447dfc57e8

Commit: 2f9264d8dcedba3a75dcf9d6a31b82447dfc57e8

Tree: e99e6840d2b53f7bbbc20480eac2ec4bec0afe9e

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: fix -Domit-stage2 regression

This flag is used when building stage1 to omit the stage2 backends from
the compiler to save memory on the CI server. It regressed with the
merging of e8813b296bc55a13b534bd9b2a03e1f6af366915 because Value
functions started calling into Sema functions.

The end goal for this build option is to eliminate it.

```

## Parents

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

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