feat: overhaul the crash handler (#10203)

* some work

* linux things

* linux things

* feat: tracestrings on Windows

* bwaa

* more work on the crash handler

* okay

* adgadsgbcxcv

* ya

* dsafds

* a

* wuh

* a

* bru h

* ok

* yay

* window

* alright

* oops

* yeah

* a

* a

* OOM handling

* fix on window
This commit is contained in:
dave caruso
2024-04-17 15:32:25 -07:00
committed by GitHub
parent f764c1233b
commit c99d7ed331
48 changed files with 1575 additions and 1020 deletions

View File

@@ -146,7 +146,7 @@ const fs = std.fs;
pub fn build(b: *Build) !void {
build_(b) catch |err| {
if (@errorReturnTrace()) |trace| {
std.debug.dumpStackTrace(trace.*);
(std.debug).dumpStackTrace(trace.*);
}
return err;
@@ -394,7 +394,7 @@ pub fn build_(b: *Build) !void {
obj.linkLibC();
obj.dll_export_fns = true;
obj.strip = false;
obj.omit_frame_pointer = optimize != .Debug;
obj.omit_frame_pointer = false;
obj.subsystem = .Console;
// Disable stack probing on x86 so we don't need to include compiler_rt