zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit f96ef9780a4604316ff9bcb5cc2f0775c0de5c79 (tree)
parent 2f30b0f44d5dbdb80362f181f35504965db733f9
Author: Ryan Liptak <squeek502@hotmail.com>
Date:   Fri, 19 Dec 2025 03:14:12 -0800

SelfInfo.Windows: a few fixes for std.Io

Diffstat:
Mlib/std/debug/SelfInfo/Windows.zig | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/std/debug/SelfInfo/Windows.zig b/lib/std/debug/SelfInfo/Windows.zig @@ -149,8 +149,9 @@ pub const UnwindContext = struct { return ctx.cur.getRegs().bp; } }; -pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, context: *UnwindContext) Error!usize { +pub fn unwindFrame(si: *SelfInfo, gpa: Allocator, io: Io, context: *UnwindContext) Error!usize { _ = si; + _ = io; _ = gpa; const current_regs = context.cur.getRegs(); @@ -391,7 +392,7 @@ const Module = struct { .section_view = section_view, }; }; - errdefer if (mapped_file) |*mf| mf.deinit(); + errdefer if (mapped_file) |*mf| mf.deinit(io); const coff_image_base = coff_obj.getImageBase();