srctree

Andrew Kelley parent 25fb6de8 869c2a03
mingw-w64 updater: don't include windowsapp or onecore APIs

inlinesplit
tools/update_mingw.zig added: 7, removed: 1, total 6
@@ -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;