diff options
Diffstat (limited to 'vendor/libghostty-vt/src/crash/main.zig')
| -rw-r--r-- | vendor/libghostty-vt/src/crash/main.zig | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/libghostty-vt/src/crash/main.zig b/vendor/libghostty-vt/src/crash/main.zig new file mode 100644 index 00000000..1ac97185 --- /dev/null +++ b/vendor/libghostty-vt/src/crash/main.zig @@ -0,0 +1,21 @@ +//! 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()); +} |
