Constant unexpected_error_tracing [src]

Whether or not error.Unexpected will print its value and a stack trace. If this happens the fix is to add the error code to the corresponding switch expression, possibly introduce a new error in the error set, and send a patch to Zig.

Source

pub const unexpected_error_tracing = builtin.mode == .Debug and switch (builtin.zig_backend) { .stage2_llvm, .stage2_x86_64 => true, else => false, }