Compare commits

..

No commits in common. "829a8d33e92988a51a8c51d204ec766a28c7903d" and "22bd2c3521d9d1105f6ccbe7841d2ffb4b5a36b6" have entirely different histories.

2 changed files with 1 additions and 2 deletions

View file

@ -93,6 +93,7 @@ static void install_crash_handler(void (*hdlr)(int, siginfo_t *, void *)) {
sigaction(SIGBUS, &action, nullptr); sigaction(SIGBUS, &action, nullptr);
sigaction(SIGSEGV, &action, nullptr); sigaction(SIGSEGV, &action, nullptr);
sigaction(SIGABRT, &action, nullptr); sigaction(SIGABRT, &action, nullptr);
sigaction(SIGTRAP, &action, nullptr);
sigaction(SIGFPE, &action, nullptr); sigaction(SIGFPE, &action, nullptr);
} }
} // namespace } // namespace

View file

@ -18,8 +18,6 @@ pub var stack_trace_on_errors: bool = false;
pub const subprocess = if (builtin.os.tag == .windows) @import("subprocess_windows.zig") else @import("subprocess.zig"); pub const subprocess = if (builtin.os.tag == .windows) @import("subprocess_windows.zig") else @import("subprocess.zig");
pub const install_debugger = c.install_debugger; pub const install_debugger = c.install_debugger;
pub const install_backtrace = c.install_backtrace;
pub const install_jitdebugger = c.install_jitdebugger;
pub const max_message_size = 8 * 4096; pub const max_message_size = 8 * 4096;
const message_buf_allocator = std.heap.c_allocator; const message_buf_allocator = std.heap.c_allocator;
threadlocal var message_buffer: std.ArrayList(u8) = std.ArrayList(u8).init(message_buf_allocator); threadlocal var message_buffer: std.ArrayList(u8) = std.ArrayList(u8).init(message_buf_allocator);