mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
std.log.defaultLog: remove freestanding compile error
This commit is contained in:
parent
13eb7251d3
commit
8d6336420b
1 changed files with 0 additions and 6 deletions
|
|
@ -146,12 +146,6 @@ pub fn defaultLog(
|
|||
comptime format: []const u8,
|
||||
args: anytype,
|
||||
) void {
|
||||
if (builtin.os.tag == .freestanding)
|
||||
@compileError(
|
||||
\\freestanding targets do not have I/O configured;
|
||||
\\please provide at least an empty `log` function declaration
|
||||
);
|
||||
|
||||
const level_txt = comptime message_level.asText();
|
||||
const prefix2 = if (scope == .default) ": " else "(" ++ @tagName(scope) ++ "): ";
|
||||
const stderr = std.io.getStdErr().writer();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue