mirror of
https://github.com/ziglang/zig.git
synced 2026-02-18 07:18:38 +00:00
Don't attempt to use io from thin air
This commit is contained in:
parent
0d18eda1d6
commit
237c5429b0
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user