| ... | @@ -146,12 +146,6 @@ pub fn defaultLog( | ... | @@ -146,12 +146,6 @@ pub fn defaultLog( |
| 146 | comptime format: []const u8, | 146 | comptime format: []const u8, |
| 147 | args: anytype, | 147 | args: anytype, |
| 148 | ) void { | 148 | ) 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 | | | |
| 155 | const level_txt = comptime message_level.asText(); | 149 | const level_txt = comptime message_level.asText(); |
| 156 | const prefix2 = if (scope == .default) ": " else "(" ++ @tagName(scope) ++ "): "; | 150 | const prefix2 = if (scope == .default) ": " else "(" ++ @tagName(scope) ++ "): "; |
| 157 | const stderr = std.io.getStdErr().writer(); | 151 | const stderr = std.io.getStdErr().writer(); |