aboutsummaryrefslogtreecommitdiff
path: root/src/InternPool.zig
diff options
context:
space:
mode:
authorMatthew Lugg <mlugg@mlugg.co.uk>2025-10-30 15:24:47 +0000
committerGitHub <noreply@github.com>2025-10-30 15:24:47 +0000
commit4174ab9c2c98d798452dd745d5d5dc657d601591 (patch)
tree3c7b27d5e3ebc31e94c2865e017707717ed30c8b /src/InternPool.zig
parent74c23a237ef5245b63eb06b832a511aabeb715c0 (diff)
parent32779a7c7392d823c945ae0a13a65cf94a4044b8 (diff)
downloadzig-4174ab9c2c98d798452dd745d5d5dc657d601591.tar.gz
zig-4174ab9c2c98d798452dd745d5d5dc657d601591.zip
Merge pull request #25726 from mlugg/std-log-colors
Cache stderr ttyconf, colorize `std.log`, and fix `--webui`
Diffstat (limited to 'src/InternPool.zig')
-rw-r--r--src/InternPool.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/InternPool.zig b/src/InternPool.zig
index a595fa502c..2a5436787c 100644
--- a/src/InternPool.zig
+++ b/src/InternPool.zig
@@ -11330,7 +11330,7 @@ fn dumpStatsFallible(ip: *const InternPool, arena: Allocator) anyerror!void {
fn dumpAllFallible(ip: *const InternPool) anyerror!void {
var buffer: [4096]u8 = undefined;
- const stderr_bw = std.debug.lockStderrWriter(&buffer);
+ const stderr_bw, _ = std.debug.lockStderrWriter(&buffer);
defer std.debug.unlockStderrWriter();
for (ip.locals, 0..) |*local, tid| {
const items = local.shared.items.view();
@@ -11462,7 +11462,7 @@ pub fn dumpGenericInstancesFallible(ip: *const InternPool, allocator: Allocator)
}
var buffer: [4096]u8 = undefined;
- const stderr_bw = std.debug.lockStderrWriter(&buffer);
+ const stderr_bw, _ = std.debug.lockStderrWriter(&buffer);
defer std.debug.unlockStderrWriter();
const SortContext = struct {