From 237c5429b0e8a089c89d13031ae6004ebac55ba9 Mon Sep 17 00:00:00 2001 From: Haze Booth Date: Thu, 18 Jun 2020 23:02:21 -0400 Subject: [PATCH] Don't attempt to use io from thin air --- lib/std/log.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/log.zig b/lib/std/log.zig index 706c2b2378..63aeaecf88 100644 --- a/lib/std/log.zig +++ b/lib/std/log.zig @@ -109,7 +109,7 @@ fn log( } else if (builtin.mode != .ReleaseSmall) { const held = std.debug.getStderrMutex().acquire(); defer held.release(); - const stderr = io.getStdErr().writer(); + const stderr = std.io.getStdErr().writer(); nosuspend stderr.print(format, args) catch return; } }