# link.Elf: remove ZigObject from files · gitcafe/zig

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

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

Visibility: public

Requested revision: 2d8ea78249c85552225db8f50b45e2e71ba85a41

Requested commit: 2d8ea78249c85552225db8f50b45e2e71ba85a41

Commit: 2d8ea78249c85552225db8f50b45e2e71ba85a41

Tree: f042ef9da464e39dfb645e4bb42c176c46065011

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
link.Elf: remove ZigObject from files

By making it a field of link.Elf, it is now accessible without a data
dependency on `files`, fixing a race condition with the codegen thread
and linker thread.

```

## Parents

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

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