# CLI: introduce \-fsingle-threaded/\-fno-single-threaded · gitcafe/zig

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

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

Visibility: public

Requested revision: 40f5e5dfc60ef94e61cc6a83547f3e82b401054c

Requested commit: 40f5e5dfc60ef94e61cc6a83547f3e82b401054c

Commit: 40f5e5dfc60ef94e61cc6a83547f3e82b401054c

Tree: ffe5c86a062964c660741eb41c0cfd67179f66d7

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
CLI: introduce -fsingle-threaded/-fno-single-threaded

Previously there was only `--single-threaded`.

This flag now matches other boolean flags, instead of only being able to
opt in to single-threaded builds, you can now force multi-threaded
builds. Currently this only has the possibility to emit an error
message, but it is a better user experience to understand why one cannot
choose to enable threads in some cases.

This is breaking change to the CLI.

Related: #10143

```

## Parents

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

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