# link.MachO: remove buggy multi-threading · gitcafe/zig

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

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

Visibility: public

Requested revision: 322d71139d2e28f9332b5397ae8b14d04e27b5df

Requested commit: 322d71139d2e28f9332b5397ae8b14d04e27b5df

Commit: 322d71139d2e28f9332b5397ae8b14d04e27b5df

Tree: f211f676366dd0dcdc7ac403b15776f09cd34f4d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
link.MachO: remove buggy multi-threading

thread-sanitizer reports data races here when running test-link. I tried
only removing the ones that triggered races, but after 10 back and
forths with the compiler and tsan, I got impatient and removed all of
them.

next time, let's be sure the test suite runs tsan-clean before merging
any changes that add parallelism.

after this commit, `zig build test-link` completes without any tsan
warnings.

closes #21778

```

## Parents

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

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