# stage2: introduce std.builtin.CompilerBackend · gitcafe/zig

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

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

Visibility: public

Requested revision: 1c24ef0d0b09a12a1fe98056f2fc04de78a82df3

Requested commit: 1c24ef0d0b09a12a1fe98056f2fc04de78a82df3

Commit: 1c24ef0d0b09a12a1fe98056f2fc04de78a82df3

Tree: b80e1fe8fe801541f962c1965cb84c3167a68feb

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: introduce std.builtin.CompilerBackend

This allows Zig code to perform conditional compilation based on a tag
by which a Zig compiler implementation identifies itself.

See the doc comment in this commit for more details.

```

## Parents

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

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