# stage2: add support for root pkg · gitcafe/zig

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

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

Visibility: public

Requested revision: a97efbd1850cbf12dbf9332f7da2652385a38cd6

Requested commit: a97efbd1850cbf12dbf9332f7da2652385a38cd6

Commit: a97efbd1850cbf12dbf9332f7da2652385a38cd6

Tree: d8aeed5eaa1f8bc13c7f047bb51497ae855c5eb4

Author: Timon Kruiper

Committer: Timon Kruiper

## Message

```
stage2: add support for root pkg

Fix some infinite recursions, because the code assumed that packages
cannot point to each other. But this assumption does not hold anymore.

```

## Parents

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

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