# test-standalone: explicitly link to advapi32 sometimes · gitcafe/zig

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

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

Visibility: public

Requested revision: 36044a0e81702954e0ad5d5bd14a8b23929e7db8

Requested commit: 36044a0e81702954e0ad5d5bd14a8b23929e7db8

Commit: 36044a0e81702954e0ad5d5bd14a8b23929e7db8

Tree: bfaeaabd5241e09aa21895bb93a23157f495dac0

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
test-standalone: explicitly link to advapi32 sometimes

Now, nearly every object produced by zig has a dependency on
advapi32.dll due to the dependency on RtlGenRandom due to the
implementation of dirCreateFileAtomic which is now analyzed whether or
not it is used.

```

## Parents

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

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