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