# zig build: add a \-\-debug-target CLI flag · gitcafe/zig

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

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

Visibility: public

Requested revision: f77b43dad39a5140f3e39f32e98e9624368c16d6

Requested commit: f77b43dad39a5140f3e39f32e98e9624368c16d6

Commit: f77b43dad39a5140f3e39f32e98e9624368c16d6

Tree: ac10a1a65da0f94f119160522841b4be6e4cb502

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
zig build: add a --debug-target CLI flag

it's not advertised in the usage and only available in debug builds of
the compiler. Makes it easier to test changes to the build runner that
might affect targets differently.

```

## Parents

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

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