d5d4082a66
Add mocking of functions Added new function type Fixed up the mock testing Working mock_framework :), fixed up all tests for VGA and TTY Adding tests VGA testing done Fin vga and tty mock testing Fixed build Removed white spaces WIP Added tests for all build modes + reduced import string length for testing Added comments refactoring Re-added constants Added some comments Updated to master of zig Added unit tests to pipeline PR comments Fixed typos
7 lines
222 B
Zig
7 lines
222 B
Zig
const builtin = @import("builtin");
|
|
const panic = @import("std").debug.panic;
|
|
|
|
pub fn panicFmt(trace: ?*builtin.StackTrace, comptime format: []const u8, args: ...) noreturn {
|
|
@setCold(true);
|
|
panic(format, args);
|
|
}
|