ona/source/coral/debug.zig

7 lines
78 B
Zig
Raw Normal View History

2023-07-10 02:10:56 +02:00
2023-04-19 01:25:35 +02:00
pub fn assert(condition: bool) void {
2023-05-23 02:08:34 +02:00
if (!condition) {
unreachable;
}
2023-04-19 01:25:35 +02:00
}