Function panic [src]

Equivalent to @panic but with a formatted message.

Prototype

pub fn panic(comptime format: []const u8, args: anytype) noreturn

Parameters

format: []const u8

Source

pub fn panic(comptime format: []const u8, args: anytype) noreturn { @branchHint(.cold); panicExtra(@returnAddress(), format, args); }