mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-28 02:03:55 +00:00
gtk-ng: add debug warning banner
This commit is contained in:
@@ -96,3 +96,9 @@ pub const Artifact = enum {
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
/// True if runtime safety checks are enabled.
|
||||
pub const is_debug = switch (builtin.mode) {
|
||||
.Debug, .ReleaseSafe => true,
|
||||
.ReleaseFast, .ReleaseSmall => false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user