aboutsummaryrefslogtreecommitdiff
path: root/lib/std/os/windows.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-12-08 13:39:09 -0800
committerAndrew Kelley <andrew@ziglang.org>2025-12-23 22:15:08 -0800
commitf53248a40936ebc9aaf75ddbd16e67ebec05ab84 (patch)
treeaf6a1a4fa4d3ff09dae241922a8f7c37cde43681 /lib/std/os/windows.zig
parent916998315967f73c91e682e9ea05dd3232818654 (diff)
downloadzig-f53248a40936ebc9aaf75ddbd16e67ebec05ab84.tar.gz
zig-f53248a40936ebc9aaf75ddbd16e67ebec05ab84.zip
update all std.fs.cwd() to std.Io.Dir.cwd()
Diffstat (limited to 'lib/std/os/windows.zig')
-rw-r--r--lib/std/os/windows.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/os/windows.zig b/lib/std/os/windows.zig
index 6b5b678b20..ba5282256f 100644
--- a/lib/std/os/windows.zig
+++ b/lib/std/os/windows.zig
@@ -4639,8 +4639,8 @@ pub fn wToPrefixedFileW(dir: ?HANDLE, path: [:0]const u16) Wtf16ToPrefixedFileWE
break :path_to_get path;
}
// We can also skip GetFinalPathNameByHandle if the handle matches
- // the handle returned by fs.cwd()
- if (dir.? == std.fs.cwd().fd) {
+ // the handle returned by Io.Dir.cwd()
+ if (dir.? == Io.Dir.cwd().fd) {
break :path_to_get path;
}
// At this point, we know we have a relative path that had too many