# Compilation: allow threads for Wasm when shared-memory is enabled · gitcafe/zig

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

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

Visibility: public

Requested revision: 062eb6f3c0027e8a371e6865963645b70e49b84e

Requested commit: 062eb6f3c0027e8a371e6865963645b70e49b84e

Commit: 062eb6f3c0027e8a371e6865963645b70e49b84e

Tree: 8d4acf43c95e976b733a5acddc477ec604c0759d

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
Compilation: allow threads for Wasm when shared-memory is enabled

When the user enabled the linker-feature 'shared-memory' we do not force
a singlethreaded build. The linker already verifies all other CPU features
required for threads are enabled. This is true for both WASI and
freestanding.

```

## Parents

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

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