diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-10-07 22:31:06 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-29 06:20:48 -0700 |
| commit | 47aa5a70a54ef7838e7c8e5ebdc570f07048ec04 (patch) | |
| tree | 80c2b9edc39f3b51746e89b7c90a1eab79075ff5 /lib/std/debug | |
| parent | 066864a0bf59bc1a926412b3c6e4d2d0c65e5642 (diff) | |
| download | zig-47aa5a70a54ef7838e7c8e5ebdc570f07048ec04.tar.gz zig-47aa5a70a54ef7838e7c8e5ebdc570f07048ec04.zip | |
std: updating to std.Io interface
got the build runner compiling
Diffstat (limited to 'lib/std/debug')
| -rw-r--r-- | lib/std/debug/SelfInfo/Windows.zig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/std/debug/SelfInfo/Windows.zig b/lib/std/debug/SelfInfo/Windows.zig index f84836a6d4..ea2fa96199 100644 --- a/lib/std/debug/SelfInfo/Windows.zig +++ b/lib/std/debug/SelfInfo/Windows.zig @@ -434,7 +434,7 @@ const Module = struct { }; errdefer pdb_file.close(); - const pdb_reader = try arena.create(std.fs.File.Reader); + const pdb_reader = try arena.create(Io.File.Reader); pdb_reader.* = pdb_file.reader(try arena.alloc(u8, 4096)); var pdb = Pdb.init(gpa, pdb_reader) catch |err| switch (err) { @@ -544,6 +544,7 @@ fn findModule(si: *SelfInfo, gpa: Allocator, address: usize) error{ MissingDebug } const std = @import("std"); +const Io = std.Io; const Allocator = std.mem.Allocator; const Dwarf = std.debug.Dwarf; const Pdb = std.debug.Pdb; |
