diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-12-06 17:23:07 -0800 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-12-23 22:15:07 -0800 |
| commit | 3204fb756980c19b7a95534acdd7a1bba837fbc3 (patch) | |
| tree | 45b5525ead2923de83ea85eacca351da64d55c46 /lib/std/Thread.zig | |
| parent | 1b1fb7fab623e40f4ddc24d7b5ef7e48949e8a17 (diff) | |
| download | zig-3204fb756980c19b7a95534acdd7a1bba837fbc3.tar.gz zig-3204fb756980c19b7a95534acdd7a1bba837fbc3.zip | |
update all occurrences of std.fs.File to std.Io.File
Diffstat (limited to 'lib/std/Thread.zig')
| -rw-r--r-- | lib/std/Thread.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Thread.zig b/lib/std/Thread.zig index 9f532c3bec..8d8e5979df 100644 --- a/lib/std/Thread.zig +++ b/lib/std/Thread.zig @@ -175,7 +175,7 @@ pub const SetNameError = error{ Unsupported, Unexpected, InvalidWtf8, -} || posix.PrctlError || posix.WriteError || std.fs.File.OpenError || std.fmt.BufPrintError; +} || posix.PrctlError || posix.WriteError || Io.File.OpenError || std.fmt.BufPrintError; pub fn setName(self: Thread, io: Io, name: []const u8) SetNameError!void { if (name.len > max_name_len) return error.NameTooLong; @@ -293,7 +293,7 @@ pub fn setName(self: Thread, io: Io, name: []const u8) SetNameError!void { pub const GetNameError = error{ Unsupported, Unexpected, -} || posix.PrctlError || posix.ReadError || std.fs.File.OpenError || std.fmt.BufPrintError; +} || posix.PrctlError || posix.ReadError || Io.File.OpenError || std.fmt.BufPrintError; /// On Windows, the result is encoded as [WTF-8](https://wtf-8.codeberg.page/). /// On other platforms, the result is an opaque sequence of bytes with no particular encoding. |
