aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorxEgoist <101279047+xEgoist@users.noreply.github.com>2023-06-03 20:45:08 +0000
committerGitHub <noreply@github.com>2023-06-03 16:45:08 -0400
commitff57a264ad99562de16d9565d5bd4ac9cd964e5d (patch)
treef22cc6becf32e5282d2d391b953e77674cfab747 /lib/std/Build/Step/CheckObject.zig
parent105078519a831878066fa995749d4b918d940b2c (diff)
downloadzig-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