# CLI: quality of life enhancement for windows CBE behavior tests · gitcafe/zig

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

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

Visibility: public

Requested revision: 3f693cf5d51fbc53d32203e5a5faf69d4a49a099

Requested commit: 3f693cf5d51fbc53d32203e5a5faf69d4a49a099

Commit: 3f693cf5d51fbc53d32203e5a5faf69d4a49a099

Tree: a366069fc741101c36cdcbbb42296464c82d4f81

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
CLI: quality of life enhancement for windows CBE behavior tests

When testing with

```
stage4/bin/zig test ../test/behavior.zig -I../test -ofmt=c -target x86_64-windows
```

previously, one would see this message:

```
error: lld-link: subsystem must be defined
```

Now, `--subsystem console` as well as `-lntdll -lkernel32` are on the
`zig run` line, producing a binary.

````

## Parents

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

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