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.master
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…
Reference in New Issue