# compiler: fix atomic orderings · gitcafe/zig

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

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

Visibility: public

Requested revision: 121d62044399da0957fe3bf80c87ef23d7cdb1a3

Requested commit: 121d62044399da0957fe3bf80c87ef23d7cdb1a3

Commit: 121d62044399da0957fe3bf80c87ef23d7cdb1a3

Tree: 92e671cfe9021a01debe208ff0633bfec506a6dd

Author: mlugg

Committer: mlugg

## Message

```
compiler: fix atomic orderings

I messed up atomic orderings on this variable because they changed in a
local refactor at some point. We need to always release on the store and
acquire on the loads so that a linker thread observing `.ready` sees the
stored MIR.

```

## Parents

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

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