stage2: Build libunwind for non-msvc Windows targets

Closes #6497
This commit is contained in:
LemonBoy
2020-10-03 20:47:06 +02:00
parent 4396373ccb
commit 3b40b68210

View File

@@ -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,
};
}