authorgravatar for carl@astholm.seCarl Åstholm <carl@astholm.se> 2023-05-02 19:30:01+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2023-05-03 11:19:37+03:00
log8d6336420b937075e3363f9548adb0092af7f819
treedad588d97aa637886260c9aa50f79960c63ba930
parent13eb7251d37759bd47403db304c6120c706fe353

std.log.defaultLog: remove freestanding compile error


1 files changed, 0 insertions(+), 6 deletions(-)

lib/std/log.zig-6
......@@ -146,12 +146,6 @@ pub fn defaultLog(
146146 comptime format: []const u8,
147147 args: anytype,
148148) void {
149 if (builtin.os.tag == .freestanding)
150 @compileError(
151 \\freestanding targets do not have I/O configured;
152 \\please provide at least an empty `log` function declaration
153 );
154
155149 const level_txt = comptime message_level.asText();
156150 const prefix2 = if (scope == .default) ": " else "(" ++ @tagName(scope) ++ "): ";
157151 const stderr = std.io.getStdErr().writer();