commit f3397fad6859c30c1c1d080bbf5b99f262eaa1d8 (tree)
parent 4396373ccb7182defa6cd084646b009de82f0b18
Author: Alexandros Naskos <alex_naskos@hotmail.com>
Date: Sun, 4 Oct 2020 01:23:35 +0300
Merge pull request #6519 from LemonBoy/fix-6497
stage2: Build libunwind for non-msvc Windows targets
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/target.zig b/src/target.zig
@@ -130,7 +130,6 @@ pub fn osRequiresLibC(target: std.Target) bool {
pub fn libcNeedsLibUnwind(target: std.Target) bool {
return switch (target.os.tag) {
- .windows,
.macosx,
.ios,
.watchos,
@@ -138,6 +137,7 @@ pub fn libcNeedsLibUnwind(target: std.Target) bool {
.freestanding,
=> false,
+ .windows => target.abi != .msvc,
else => true,
};
}