mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 05:48:31 +00:00
build: .c ofmt does not produce a pdb
This commit is contained in:
parent
a9b68308b9
commit
7c2ba950a7
@ -617,6 +617,7 @@ pub fn isStaticLibrary(self: *LibExeObjStep) bool {
|
||||
|
||||
pub fn producesPdbFile(self: *LibExeObjStep) bool {
|
||||
if (!self.target.isWindows() and !self.target.isUefi()) return false;
|
||||
if (self.target.getObjectFormat() == .c) return false;
|
||||
if (self.strip == true) return false;
|
||||
return self.isDynamicLibrary() or self.kind == .exe or self.kind == .test_exe;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user