aboutsummaryrefslogtreecommitdiff
path: root/lib/std/debug/SelfInfo/Windows.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-10-19 14:08:21 -0700
committerAndrew Kelley <andrew@ziglang.org>2025-10-29 06:20:50 -0700
commit10b1eef2d3901d17cf8810689a9e1eaf6d7901d9 (patch)
treec5312175f5f2716813322196dc10cdabf6b73f51 /lib/std/debug/SelfInfo/Windows.zig
parentb215f8667a0cc59888926fcfcbb4be4370bd2216 (diff)
downloadzig-10b1eef2d3901d17cf8810689a9e1eaf6d7901d9.tar.gz
zig-10b1eef2d3901d17cf8810689a9e1eaf6d7901d9.zip
std: fix compilation errors on Windows
Diffstat (limited to 'lib/std/debug/SelfInfo/Windows.zig')
-rw-r--r--lib/std/debug/SelfInfo/Windows.zig3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/debug/SelfInfo/Windows.zig b/lib/std/debug/SelfInfo/Windows.zig
index 324b597d97..a0b26f8ec5 100644
--- a/lib/std/debug/SelfInfo/Windows.zig
+++ b/lib/std/debug/SelfInfo/Windows.zig
@@ -474,7 +474,7 @@ const Module = struct {
break :pdb pdb;
};
errdefer if (opt_pdb) |*pdb| {
- pdb.file_reader.file.close();
+ pdb.file_reader.file.close(io);
pdb.deinit();
};
@@ -484,6 +484,7 @@ const Module = struct {
return .{
.arena = arena_instance.state,
+ .io = io,
.coff_image_base = coff_image_base,
.mapped_file = mapped_file,
.dwarf = opt_dwarf,