diff options
Diffstat (limited to 'lib/std/debug.zig')
| -rw-r--r-- | lib/std/debug.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/debug.zig b/lib/std/debug.zig index fb1ae69f09..bb769a03c1 100644 --- a/lib/std/debug.zig +++ b/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, } } } |
