Commit c2c3177d82
2020-11-07 20:01:48
1 parent
a28c244Changed files (1)
lib
std
lib/std/debug.zig
@@ -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,
}
}
}