pub fn call(msg: []const u8, ra: ?usize) noreturn msg: []const u8ra: ?usize14
15
16
17
18
19
20pub fn call(msg: []const u8, ra: ?usize) noreturn {
@branchHint(.cold);
_ = ra;
const stderr_writer = &std.debug.lockStderr(&.{}).file_writer.interface;
stderr_writer.writeAll(msg) catch {};
@trap();
}
Prints the message to stderr without a newline and then traps.
Explicit calls to
@paniclower to calling this function.