# stage2: write out builtin.zig before spawning AstGen tasks · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d290d6f82b780fc5c1448bcc41fec602359dfec

Requested commit: 2d290d6f82b780fc5c1448bcc41fec602359dfec

Commit: 2d290d6f82b780fc5c1448bcc41fec602359dfec

Tree: 2463539baceb3924f29906cf40c4084475527250

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: write out builtin.zig before spawning AstGen tasks

Otherwise it's possible for AstGen to get FileNotFound when trying to
eager-load `import("builtin")`.

```

## Parents

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

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