Merge pull request #6519 from LemonBoy/fix-6497

stage2: Build libunwind for non-msvc Windows targets
This commit is contained in:
Alexandros Naskos
2020-10-04 01:23:35 +03:00
committed by GitHub

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