authorgravatar for 124872+jedisct1@users.noreply.github.comFrank Denis <124872+jedisct1@users.noreply.github.com> 2020-11-07 20:01:48+01:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2020-11-09 18:22:50-05:00
log427a212e3865ba73bc6df63c71ce2849ae2de583
treed419247e6e3ef837a4a307f3caee407028f9777c
parentfc67e5f843ae358747bac57f2ae7c816a2ccb4df

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.

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

lib/std/debug.zig+1-1
......@@ -666,7 +666,7 @@ pub fn openSelfDebugInfo(allocator: *mem.Allocator) anyerror!DebugInfo {
666666 .macos,
667667 .windows,
668668 => return DebugInfo.init(allocator),
669 else => @compileError("openSelfDebugInfo unsupported for this platform"),
669 else => return error.UnsupportedDebugInfo,
670670 }
671671 }
672672}