aboutsummaryrefslogtreecommitdiff
path: root/src/Zcu/PerThread.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/Zcu/PerThread.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/Zcu/PerThread.zig')
-rw-r--r--src/Zcu/PerThread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Zcu/PerThread.zig b/src/Zcu/PerThread.zig
index 474ccc710d..20aaa3d3c2 100644
--- a/src/Zcu/PerThread.zig
+++ b/src/Zcu/PerThread.zig
@@ -4473,7 +4473,7 @@ fn runCodegenInner(pt: Zcu.PerThread, func_index: InternPool.Index, air: *Air) e
defer if (liveness) |*l| l.deinit(gpa);
if (build_options.enable_debug_extensions and comp.verbose_air) {
- const stderr = std.debug.lockStderrWriter(&.{});
+ const stderr, _ = std.debug.lockStderrWriter(&.{});
defer std.debug.unlockStderrWriter();
stderr.print("# Begin Function AIR: {f}:\n", .{fqn.fmt(ip)}) catch {};
air.write(stderr, pt, liveness);