mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
Don't prevent compilation on platforms where debug info is unsupported
We don't support debug information on platforms that are not tier-1, but it shouldn't be a hard error that completely prevents compilation.
This commit is contained in:
parent
fc67e5f843
commit
427a212e38
@ -666,7 +666,7 @@ pub fn openSelfDebugInfo(allocator: *mem.Allocator) anyerror!DebugInfo {
|
||||
.macos,
|
||||
.windows,
|
||||
=> return DebugInfo.init(allocator),
|
||||
else => @compileError("openSelfDebugInfo unsupported for this platform"),
|
||||
else => return error.UnsupportedDebugInfo,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user