mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Merge pull request #6519 from LemonBoy/fix-6497
stage2: Build libunwind for non-msvc Windows targets
This commit is contained in:
commit
f3397fad68
@ -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,
|
||||
};
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user