authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-17 22:53:58-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-19 12:39:37-07:00
log7b0f777ffdd2900e7dcd5db096b27a06bc416263
treec2625b835723eddedba2f30b1a6e44e74a86f6ba
parent166cf303b260d59174fa090b3dd693ae1a7e351a

update tools/check_mingw.zig to new API


1 files changed, 2 insertions(+), 2 deletions(-)

tools/check_mingw.zig+2-2
...@@ -71,11 +71,11 @@ pub fn main(init: std.process.Init) !void {...@@ -71,11 +71,11 @@ pub fn main(init: std.process.Init) !void {
71 var pp: Preprocessor = .{71 var pp: Preprocessor = .{
72 .io = io,72 .io = io,
73 .arena = pp_arena,73 .arena = pp_arena,
74 .include_dir = mingw_include_path,74 .include_dir = .initCwd(mingw_include_path),
75 .target = target,75 .target = target,
76 };76 };
7777
78 pp.preprocess(file_path) catch |err| {78 pp.preprocess(.initCwd(file_path)) catch |err| {
79 std.log.err("error preprocessing file {s} for target {t}: {t}", .{ entry.path, target.cpu.arch, err });79 std.log.err("error preprocessing file {s} for target {t}: {t}", .{ entry.path, target.cpu.arch, err });
80 fail = true;80 fail = true;
81 continue;81 continue;