# Zcu: construct full reference graph · gitcafe/zig

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

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

Visibility: public

Requested revision: 6faa4cc7e60c2ecd26759878a6f9e277d69a4968

Requested commit: 6faa4cc7e60c2ecd26759878a6f9e277d69a4968

Commit: 6faa4cc7e60c2ecd26759878a6f9e277d69a4968

Tree: fb54ba56449d8e78535a9459a4de0ec0e8d01d7c

Author: mlugg

Committer: Jacob Young

## Message

```
Zcu: construct full reference graph

This commit updates `Zcu.resolveReferences` to traverse the graph of
`AnalUnit` references (starting from the 1-3 roots of analysis) in order
to determine which `AnalUnit`s are referenced in an update. Errors for
unreferenced entities are omitted from the error bundle. However, note
that unreferenced `Nav`s are not removed from the binary.

```

## Parents

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

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