mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-01 11:12:16 +00:00
We never used it because our minidump files on Linux didn't contain meaningful information. With Zig's Writergate, let's drop this and rewrite it later, we can always resurrect it from the git history.
22 lines
709 B
Zig
22 lines
709 B
Zig
//! The crash package contains all the logic around crash handling,
|
|
//! whether that's setting up the system to catch crashes (Sentry client),
|
|
//! introspecting crash reports, writing crash reports to disk, etc.
|
|
|
|
const dir = @import("dir.zig");
|
|
const sentry_envelope = @import("sentry_envelope.zig");
|
|
|
|
pub const sentry = @import("sentry.zig");
|
|
pub const Envelope = sentry_envelope.Envelope;
|
|
pub const defaultDir = dir.defaultDir;
|
|
pub const Dir = dir.Dir;
|
|
pub const ReportIterator = dir.ReportIterator;
|
|
pub const Report = dir.Report;
|
|
|
|
// The main init/deinit functions for global state.
|
|
pub const init = sentry.init;
|
|
pub const deinit = sentry.deinit;
|
|
|
|
test {
|
|
@import("std").testing.refAllDecls(@This());
|
|
}
|