aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-22 16:10:43 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:12 -0800
commit7c1236e267e536379f8b91148117fb0b8e965334 (patch)
tree3ab9d70317961171ff2978c61cbdc903948a4240 /lib/std/Thread.zig
parent9aee45be97020e65a3eaca67f7a343823a3439f5 (diff)
downloadzig-7c1236e267e536379f8b91148117fb0b8e965334.tar.gz
zig-7c1236e267e536379f8b91148117fb0b8e965334.zip
std: different way of doing some options
to avoid dependency loops
Diffstat (limited to 'lib/std/Thread.zig')
-rw-r--r--lib/std/Thread.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig
index 1900225099..312cc25a99 100644
--- a/lib/std/Thread.zig
+++ b/lib/std/Thread.zig
@@ -322,7 +322,7 @@ pub fn getName(self: Thread, buffer_ptr: *[max_name_len:0]u8) GetNameError!?[]co
var buf: [32]u8 = undefined;
const path = try std.fmt.bufPrint(&buf, "/proc/self/task/{d}/comm", .{self.getHandle()});
- const io = std.options.debug_io;
+ const io = std.Options.debug_io;
const file = try Io.Dir.cwd().openFile(io, path, .{});
defer file.close(io);