# stage2: glue code to AstGen root source file when using stage1 · gitcafe/zig

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

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

Visibility: public

Requested revision: af40e3f54c12857bb5ac541f8a3e1a9b5f93a626

Requested commit: af40e3f54c12857bb5ac541f8a3e1a9b5f93a626

Commit: af40e3f54c12857bb5ac541f8a3e1a9b5f93a626

Tree: af18a563b1ef1155e893555945b3b45d14b243b3

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: glue code to AstGen root source file when using stage1

Normally we rely on importing std to in turn import the root
in the start code, but when using the stage1 won't happen,
so in order to run AstGen on the root we put it into the
import_table here.

```

## Parents

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

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