mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 15:12:31 +00:00
mingw-w64 updater: don't include windowsapp or onecore APIs
This commit is contained in:
parent
25fb6de83c
commit
869c2a03f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user