diff options
| author | xEgoist <101279047+xEgoist@users.noreply.github.com> | 2023-06-03 20:45:08 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-03 16:45:08 -0400 |
| commit | ff57a264ad99562de16d9565d5bd4ac9cd964e5d (patch) | |
| tree | f22cc6becf32e5282d2d391b953e77674cfab747 /lib/std/Build/Step/CheckObject.zig | |
| parent | 105078519a831878066fa995749d4b918d940b2c (diff) | |
| download | zig-ff57a264ad99562de16d9565d5bd4ac9cd964e5d.tar.gz zig-ff57a264ad99562de16d9565d5bd4ac9cd964e5d.zip | |
Build: fix producesPdbFile logic (#15756)
Fixes bug causing ReleaseSmall to fail on Windows.
Due to the change in default behavior of ReleaseSmall, debug info are
stripped by default. However because `Compile.create` still defaults to
null, `producesPdbFile` will report true for
`lib/std/Build/Step/InstallArtifact.zig` causing it to fail on copying a
file that does not exist. This commit change the default of strip
depending on `optimize`.
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
0 files changed, 0 insertions, 0 deletions
