aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/deps/crash_reporter_linux.zig11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/deps/crash_reporter_linux.zig b/src/deps/crash_reporter_linux.zig
new file mode 100644
index 000000000..40f2d3c27
--- /dev/null
+++ b/src/deps/crash_reporter_linux.zig
@@ -0,0 +1,11 @@
+const std = @import("std");
+
+pub fn start(_: [*:0]const u8) bool {
+ std.debug.attachSegfaultHandler();
+}
+
+pub fn generate() void {}
+
+pub fn crashReportPath(_: *[1024]u8) []const u8 {
+ return "";
+}