# fix cmpxchg behavior test · gitcafe/zig

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

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

Visibility: public

Requested revision: 360bc28c9646ef6bcd6136f8a088930201e02012

Requested commit: 360bc28c9646ef6bcd6136f8a088930201e02012

Commit: 360bc28c9646ef6bcd6136f8a088930201e02012

Tree: 3d36731bb90c91cded581dc1d5f1321be6a180a7

Author: Justus Klausecker

Committer: Alex Rønne Petersen

## Message

```
fix cmpxchg behavior test

This has to be a `@cmpxchgStrong` instead of a `@cmpxchgWeak` otherwise
this test will fail spuriously on LL/SC architectures like PowerPC.

```

## Parents

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

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