# zig fmt is built directly into stage1 rather than child process · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d6520d5d4cd912cdd20db6cfa155e871efc6f59

Requested commit: 2d6520d5d4cd912cdd20db6cfa155e871efc6f59

Commit: 2d6520d5d4cd912cdd20db6cfa155e871efc6f59

Tree: 583e47f4af61d3950b34333d48e738733b5e107a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig fmt is built directly into stage1 rather than child process

Previously, `zig fmt` on the stage1 compiler (which is what we currently
ship) would perform what equates to `zig run std/special/fmt_runner.zig`

Now, `zig fmt` is implemented with the hybrid zig/C++ strategy outlined
by #1964.

This means Zig no longer has to ship some of the stage2 .zig files, and
there is no longer a delay when running `zig fmt` for the first time.

```

## Parents

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

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