From 7b0f777ffdd2900e7dcd5db096b27a06bc416263 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Mon, 17 Aug 2026 22:53:58 -0700 Subject: [PATCH] update tools/check_mingw.zig to new API --- tools/check_mingw.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check_mingw.zig b/tools/check_mingw.zig index c67b3f2599efaa9592cc238b866a44d2b3e1bf45..74b2f1d588ad938a5287d67929c5ba05e7f73ce1 100644 --- a/tools/check_mingw.zig +++ b/tools/check_mingw.zig @@ -71,11 +71,11 @@ pub fn main(init: std.process.Init) !void { var pp: Preprocessor = .{ .io = io, .arena = pp_arena, - .include_dir = mingw_include_path, + .include_dir = .initCwd(mingw_include_path), .target = target, }; - pp.preprocess(file_path) catch |err| { + pp.preprocess(.initCwd(file_path)) catch |err| { std.log.err("error preprocessing file {s} for target {t}: {t}", .{ entry.path, target.cpu.arch, err }); fail = true; continue; -- 2.54.0