pluto/test/mock/kernel/panic_mock.zig

8 lines
215 B
Zig
Raw Normal View History

const builtin = @import("builtin");
const std = @import("std");
pub fn panic(trace: ?*builtin.StackTrace, comptime format: []const u8, args: ...) noreturn {
@setCold(true);
std.debug.panic(format, args);
}