Writes to stderr, ignoring errors.
This is a low-level debugging primitive that bypasses the Io interface,
writing directly to stderr using the most basic syscalls available. This
function does not switch threads, switch stacks, or suspend.
Uses a 64-byte buffer for formatted printing which is flushed before this function returns.
Alternatively, use the higher-level std.log or Io.lockStderr to
integrate with the application's chosen Io implementation.
pub fn print(comptime fmt: []const u8, args: anytype) void
pub fn print(comptime fmt: []const u8, args: anytype) void {
const io = std.Options.debug_io;
const prev = io.swapCancelProtection(.blocked);
defer _ = io.swapCancelProtection(prev);
var buffer: [64]u8 = undefined;
const stderr = lockStderr(&buffer);
defer unlockStderr();
stderr.file_writer.interface.print(fmt, args) catch return;
}