# stage2: eliminate the "compiler id" concept · gitcafe/zig

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

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

Visibility: public

Requested revision: c99e34a00e1e839effbc8b257a400eb3b643fa12

Requested commit: c99e34a00e1e839effbc8b257a400eb3b643fa12

Commit: c99e34a00e1e839effbc8b257a400eb3b643fa12

Tree: 6104ce4ebeb2b4caa371b8478b5497a97295dbf7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: eliminate the "compiler id" concept

Instead, append a "dirty suffix" to the version string when there are
dirty git changes and use the version string as the compiler id.

This avoids a dependency on the cache hash system, and saves time on
first invocation of the compiler since it does not have to compute its
compiler id. It also saves time by not having to check the cache for a
saved compiler id.

```

## Parents

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

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