commit 869c2a03f3e99671fe0a9bacf13a8861b21097ef (tree)
parent 25fb6de83caad1fdf6454b0a01c504dd1d7311a6
Author: Andrew Kelley <andrew@ziglang.org>
Date: Wed, 20 Mar 2024 11:25:54 -0700
mingw-w64 updater: don't include windowsapp or onecore APIs
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/tools/update_mingw.zig b/tools/update_mingw.zig
@@ -94,6 +94,12 @@ pub fn main() !void {
if (blacklisted) continue;
+ if (std.mem.endsWith(u8, entry.basename, "_windowsapp.def"))
+ continue;
+
+ if (std.mem.endsWith(u8, entry.basename, "_onecore.def"))
+ continue;
+
src_crt_dir.copyFile(entry.path, dest_crt_dir, entry.path, .{}) catch |err| {
std.log.err("unable to copy {s}: {s}", .{ entry.path, @errorName(err) });
fail = true;