fix: add back missing windows check for crash handler
This commit is contained in:
parent
24730f90c0
commit
10476f4e87
1 changed files with 5 additions and 4 deletions
|
@ -148,10 +148,11 @@ pub fn main() anyerror!void {
|
||||||
return list_languages.list(a, stdout.writer(), tty_config);
|
return list_languages.list(a, stdout.writer(), tty_config);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (std.posix.getenv("JITDEBUG")) |_|
|
if (builtin.os.tag != .windows)
|
||||||
thespian.install_debugger()
|
if (std.posix.getenv("JITDEBUG")) |_|
|
||||||
else if (@hasDecl(renderer, "install_crash_handler"))
|
thespian.install_debugger()
|
||||||
renderer.install_crash_handler();
|
else if (@hasDecl(renderer, "install_crash_handler"))
|
||||||
|
renderer.install_crash_handler();
|
||||||
|
|
||||||
if (args.debug_wait) {
|
if (args.debug_wait) {
|
||||||
std.debug.print("press return to start", .{});
|
std.debug.print("press return to start", .{});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue