diff options
| author | Loris Cro <kappaloris@gmail.com> | 2023-06-18 09:06:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-18 09:06:40 +0200 |
| commit | 216ef10dc471e4db60a30208be178d6c59efeaaf (patch) | |
| tree | 8c239dab283ae9cb3b7fe099bae240bcc53f894e /lib/std/log.zig | |
| parent | 0fc1d396495c1ab482197021dedac8bea3f9401c (diff) | |
| parent | 729a051e9e38674233190aea23c0ac8c134f2d67 (diff) | |
| download | zig-216ef10dc471e4db60a30208be178d6c59efeaaf.tar.gz zig-216ef10dc471e4db60a30208be178d6c59efeaaf.zip | |
Merge branch 'master' into autodoc-searchkey
Diffstat (limited to 'lib/std/log.zig')
| -rw-r--r-- | lib/std/log.zig | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/std/log.zig b/lib/std/log.zig index 48a287a4ee..dc45df9ea3 100644 --- a/lib/std/log.zig +++ b/lib/std/log.zig @@ -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(); |
