authorgravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-10-03 20:47:06+02:00
committergravatar for thatlemon@gmail.comLemonBoy <thatlemon@gmail.com> 2020-10-03 20:47:06+02:00
log3b40b682102917955af0939d6c78bdb16ddd78e7
treea6df4a83807a009d30e1719bc344a1f9c0a0d34a
parent4396373ccb7182defa6cd084646b009de82f0b18

stage2: Build libunwind for non-msvc Windows targets

Closes #6497

1 files changed, 1 insertions(+), 1 deletions(-)

src/target.zig+1-1
...@@ -130,7 +130,6 @@ pub fn osRequiresLibC(target: std.Target) bool {...@@ -130,7 +130,6 @@ pub fn osRequiresLibC(target: std.Target) bool {
130130
131pub fn libcNeedsLibUnwind(target: std.Target) bool {131pub fn libcNeedsLibUnwind(target: std.Target) bool {
132 return switch (target.os.tag) {132 return switch (target.os.tag) {
133 .windows,
134 .macosx,133 .macosx,
135 .ios,134 .ios,
136 .watchos,135 .watchos,
...@@ -138,6 +137,7 @@ pub fn libcNeedsLibUnwind(target: std.Target) bool {...@@ -138,6 +137,7 @@ pub fn libcNeedsLibUnwind(target: std.Target) bool {
138 .freestanding,137 .freestanding,
139 => false,138 => false,
140139
140 .windows => target.abi != .msvc,
141 else => true,141 else => true,
142 };142 };
143}143}