fix: don't try to call thespian debugger signal handler on macos
This commit is contained in:
parent
81f616afba
commit
17859b6dfd
1 changed files with 1 additions and 1 deletions
|
@ -153,7 +153,7 @@ fn handle_crash(sig: i32, info: *const std.posix.siginfo_t, ctx_ptr: ?*anyopaque
|
||||||
self.vx.deinit(self.allocator, self.tty.anyWriter());
|
self.vx.deinit(self.allocator, self.tty.anyWriter());
|
||||||
self.tty.deinit();
|
self.tty.deinit();
|
||||||
}
|
}
|
||||||
if (jit_debugger_enabled) {
|
if (builtin.os.tag == .linux and jit_debugger_enabled) {
|
||||||
handleSegfaultPosixNoAbort(sig, info, ctx_ptr);
|
handleSegfaultPosixNoAbort(sig, info, ctx_ptr);
|
||||||
@import("thespian").sighdl_debugger(sig, @ptrCast(@constCast(info)), ctx_ptr);
|
@import("thespian").sighdl_debugger(sig, @ptrCast(@constCast(info)), ctx_ptr);
|
||||||
std.posix.abort();
|
std.posix.abort();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue