# always use codeview \(pdb\) when object_format is PE/COFF · gitcafe/zig

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

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

Visibility: public

Requested revision: 24cbf1c70679ee81d45fb7a8ba5c48fdb77cbd5c

Requested commit: 24cbf1c70679ee81d45fb7a8ba5c48fdb77cbd5c

Commit: 24cbf1c70679ee81d45fb7a8ba5c48fdb77cbd5c

Tree: b367c26e62d4a62d4cdf5e0ef3e801308a25d39d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
always use codeview (pdb) when object_format is PE/COFF

Previously, when mixing Zig and C/C++ code for windows-gnu targets, zig
would get codeview format but the C/C++ code would not get any debug
info. Now, C/C++ code properly emits debug info in codeview format and
everything just works.

```

## Parents

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

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